WIP. build under Win32 without SDL

This commit is contained in:
Thomas Bernard
2018-05-31 17:29:29 +02:00
parent 4d86b8a0c1
commit 3e4f3d0313
12 changed files with 54 additions and 24 deletions

View File

@@ -1135,7 +1135,9 @@ void Fill_general(byte fill_color)
if (! (Permanent_draw_count&7))
{
dword now = GFX2_GetTicks();
#if defined(USE_SDL) || defined(USE_SDL2)
SDL_PumpEvents();
#endif
if (now>= Permanent_draw_next_refresh)
{
Permanent_draw_next_refresh = now+100;