Fix back button on Android
This commit is contained in:
parent
a1c1e03da0
commit
3924b6bba3
|
@ -43,6 +43,7 @@ int main(int argc, char* argv[])
|
|||
#endif
|
||||
|
||||
#if __ANDROID__
|
||||
SDL_SetHint(SDL_HINT_ANDROID_TRAP_BACK_BUTTON, "1");
|
||||
SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "0");
|
||||
SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "0");
|
||||
chdir(SDL_AndroidGetExternalStoragePath());
|
||||
|
|
Loading…
Reference in New Issue