Add hotplug support to SDL2 controller backend
This commit is contained in:
1 parent
7062967b5b
commit
932ca644aa
3 files changed
+143
-27
No files matched your search
@@ -158,8 +158,7 @@ void ControllerInterface::Shutdown()
|
||||
ciface::Quartz::DeInit();
|
||||
#endif
|
||||
#ifdef CIFACE_USE_SDL
|
||||
// TODO: there seems to be some sort of memory leak with SDL, quit isn't freeing everything up
|
||||
SDL_Quit();
|
||||
ciface::SDL::DeInit();
|
||||
#endif
|
||||
#ifdef CIFACE_USE_ANDROID
|
||||
// nothing needed
|
||||
|
||||
Reference in new issue
Block a user