mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
SDL_GL_SWAP_CONTROL only on desktop
This commit is contained in:
parent
3b19ae2bbd
commit
59eb2bfd75
@ -1070,7 +1070,9 @@ void do_setfsize() {
|
||||
}
|
||||
|
||||
void disable_vsync() {
|
||||
#if !ISMOBWEB
|
||||
SDL_GL_SetAttribute( SDL_GL_SWAP_CONTROL, 0 );
|
||||
#endif
|
||||
}
|
||||
|
||||
#if CAP_SDL
|
||||
|
Loading…
Reference in New Issue
Block a user