disable VSync for both timedemo and fastdemo

This commit is contained in:
Fabian Greffrath 2020-01-17 12:21:32 +01:00
parent f192571251
commit 8e979e383e

View File

@ -989,7 +989,7 @@ static void I_InitGraphicsMode(void)
video_display, SDL_GetError()); video_display, SDL_GetError());
} }
if (page_flip && use_vsync && !singletics && mode.refresh_rate > 0) if (page_flip && use_vsync && !timingdemo && mode.refresh_rate > 0)
{ {
flags |= SDL_RENDERER_PRESENTVSYNC; flags |= SDL_RENDERER_PRESENTVSYNC;
} }