From e2ef8dbbe03fa94c084ee87769934805de820e92 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sun, 9 Jun 2019 18:43:23 +0300 Subject: [PATCH] Fix the GUI on some Windows 10 machines (Intel HD?). Fixes #112 --- SDL/gui.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SDL/gui.c b/SDL/gui.c index 7716760..70a449d 100644 --- a/SDL/gui.c +++ b/SDL/gui.c @@ -1185,6 +1185,10 @@ void run_gui(bool is_running) } render_texture(pixels, NULL); +#ifdef _WIN32 + /* Required for some Windows 10 machines, god knows why */ + render_texture(pixels, NULL); +#endif } } while (SDL_WaitEvent(&event)); }