1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-23 15:36:59 +00:00

disabled awareness on old MINGW

This commit is contained in:
Zeno Rogue 2021-02-07 22:22:07 +01:00
parent a4373e5328
commit 7bf88916fd

View File

@ -1149,6 +1149,7 @@ EX void setvideomode() {
int sizeflag = (vid.full ? SDL_FULLSCREEN : SDL_RESIZABLE); int sizeflag = (vid.full ? SDL_FULLSCREEN : SDL_RESIZABLE);
#ifdef WINDOWS #ifdef WINDOWS
#ifndef OLD_MINGW
static bool set_awareness = true; static bool set_awareness = true;
if(set_awareness) { if(set_awareness) {
set_awareness = false; set_awareness = false;
@ -1164,6 +1165,7 @@ EX void setvideomode() {
} }
} }
#endif #endif
#endif
s = s_screen = SDL_SetVideoMode(vid.xres, vid.yres, 32, flags | sizeflag); s = s_screen = SDL_SetVideoMode(vid.xres, vid.yres, 32, flags | sizeflag);