mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-04-12 10:42:01 +02:00
Added a platform cleanup function for the Vivante video driver
This commit is contained in:
parent
5df970a695
commit
38f94e21c0
@ -26,11 +26,17 @@
|
|||||||
|
|
||||||
#ifdef VIVANTE_PLATFORM_GENERIC
|
#ifdef VIVANTE_PLATFORM_GENERIC
|
||||||
|
|
||||||
int VIVANTE_SetupPlatform(_THIS)
|
int
|
||||||
|
VIVANTE_SetupPlatform(_THIS)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
VIVANTE_CleanupPlatform(_THIS)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* VIVANTE_PLATFORM_GENERIC */
|
#endif /* VIVANTE_PLATFORM_GENERIC */
|
||||||
|
|
||||||
#endif /* SDL_VIDEO_DRIVER_VIVANTE */
|
#endif /* SDL_VIDEO_DRIVER_VIVANTE */
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern int VIVANTE_SetupPlatform(_THIS);
|
extern int VIVANTE_SetupPlatform(_THIS);
|
||||||
|
extern void VIVANTE_CleanupPlatform(_THIS);
|
||||||
|
|
||||||
#endif /* SDL_VIDEO_DRIVER_VIVANTE */
|
#endif /* SDL_VIDEO_DRIVER_VIVANTE */
|
||||||
|
|
||||||
|
@ -226,6 +226,8 @@ VIVANTE_VideoQuit(_THIS)
|
|||||||
SDL_EVDEV_Quit();
|
SDL_EVDEV_Quit();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
VIVANTE_CleanupPlatform(_this);
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_VIVANTE_VDK
|
#if SDL_VIDEO_DRIVER_VIVANTE_VDK
|
||||||
if (videodata->vdk_private) {
|
if (videodata->vdk_private) {
|
||||||
vdkExit(videodata->vdk_private);
|
vdkExit(videodata->vdk_private);
|
||||||
|
Loading…
Reference in New Issue
Block a user