allow compiling with old versions of sdl2
This commit is contained in:
parent
624d41f94a
commit
e1abce7091
@ -235,7 +235,9 @@ public:
|
|||||||
SDL_free(basePath);
|
SDL_free(basePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if SDL_VERSION_ATLEAST(2, 0, 18)
|
||||||
SDL_SetHint(SDL_HINT_IME_SHOW_UI, "1");
|
SDL_SetHint(SDL_HINT_IME_SHOW_UI, "1");
|
||||||
|
#endif
|
||||||
|
|
||||||
m_signalHandler.setHandleInterrupt(true);
|
m_signalHandler.setHandleInterrupt(true);
|
||||||
m_signalHandler.setHandleFatal(true);
|
m_signalHandler.setHandleFatal(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user