1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

SDL_GL_SWAP_CONTROL only on desktop

This commit is contained in:
Zeno Rogue 2018-02-20 21:10:26 +01:00
parent 3b19ae2bbd
commit 59eb2bfd75

View File

@ -1070,7 +1070,9 @@ void do_setfsize() {
}
void disable_vsync() {
#if !ISMOBWEB
SDL_GL_SetAttribute( SDL_GL_SWAP_CONTROL, 0 );
#endif
}
#if CAP_SDL