ref: c06010daf3aaa2f04abce427097bcb9f6d8a2203
parent: c29ba6610fad7155c76bda66aa44c2e803df5ed7
author: Olav Sørensen <olav.sorensen@live.no>
date: Tue May 12 08:00:43 EDT 2020
Update pt2_visuals.c
--- a/src/pt2_visuals.c
+++ b/src/pt2_visuals.c
@@ -2518,9 +2518,10 @@
}
}
+ uint32_t windowFlags = SDL_WINDOW_HIDDEN | SDL_WINDOW_ALLOW_HIGHDPI;
+
video.window = SDL_CreateWindow("", SDL_WINDOWPOS_CENTERED,
- SDL_WINDOWPOS_CENTERED, screenW, screenH,
- SDL_WINDOW_HIDDEN | SDL_WINDOW_ALLOW_HIGHDPI);
+ SDL_WINDOWPOS_CENTERED, screenW, screenH, windowFlags);
if (video.window == NULL)
{