mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-29 22:48:30 +00:00
Moved Android event initialization to SDL_InitEvents()
This commit is contained in:
@@ -52,7 +52,6 @@
|
||||
#include "thread/SDL_thread_c.h"
|
||||
#include "video/SDL_pixels_c.h"
|
||||
#include "video/SDL_video_c.h"
|
||||
#include "video/android/SDL_androidevents.h"
|
||||
#include "filesystem/SDL_filesystem_c.h"
|
||||
|
||||
#define SDL_INIT_EVERYTHING ~0U
|
||||
@@ -226,10 +225,6 @@ int SDL_InitSubSystem(Uint32 flags)
|
||||
|
||||
SDL_InitMainThread();
|
||||
|
||||
#ifdef SDL_PLATFORM_ANDROID
|
||||
Android_InitEvents();
|
||||
#endif
|
||||
|
||||
#ifdef SDL_USE_LIBDBUS
|
||||
SDL_DBus_Init();
|
||||
#endif
|
||||
@@ -576,10 +571,6 @@ void SDL_Quit(void)
|
||||
SDL_DBus_Quit();
|
||||
#endif
|
||||
|
||||
#ifdef SDL_PLATFORM_ANDROID
|
||||
Android_QuitEvents();
|
||||
#endif
|
||||
|
||||
SDL_SetObjectsInvalid();
|
||||
SDL_ClearHints();
|
||||
SDL_AssertionsQuit();
|
||||
|
Reference in New Issue
Block a user