@@ -26,11 +26,17 @@
#ifdef VIVANTE_PLATFORM_GENERIC
-int VIVANTE_SetupPlatform(_THIS)
+int
+VIVANTE_SetupPlatform(_THIS)
{
return 0;
}
+void
+VIVANTE_CleanupPlatform(_THIS)
+{
+}
+
#endif /* VIVANTE_PLATFORM_GENERIC */
#endif /* SDL_VIDEO_DRIVER_VIVANTE */
@@ -36,6 +36,7 @@
#endif
extern int VIVANTE_SetupPlatform(_THIS);
+extern void VIVANTE_CleanupPlatform(_THIS);
@@ -226,6 +226,8 @@ VIVANTE_VideoQuit(_THIS)
SDL_EVDEV_Quit();
+ VIVANTE_CleanupPlatform(_this);
#if SDL_VIDEO_DRIVER_VIVANTE_VDK
if (videodata->vdk_private) {
vdkExit(videodata->vdk_private);