Fix the GUI on some Windows 10 machines (Intel HD?). Fixes #112

This commit is contained in:
Lior Halphon 2019-06-09 18:43:23 +03:00
parent 843683a492
commit e2ef8dbbe0

View File

@ -1185,6 +1185,10 @@ void run_gui(bool is_running)
} }
render_texture(pixels, NULL); render_texture(pixels, NULL);
#ifdef _WIN32
/* Required for some Windows 10 machines, god knows why */
render_texture(pixels, NULL);
#endif
} }
} while (SDL_WaitEvent(&event)); } while (SDL_WaitEvent(&event));
} }