diff --git a/Source/i_video.c b/Source/i_video.c index 0b743a59..5db3face 100644 --- a/Source/i_video.c +++ b/Source/i_video.c @@ -1499,6 +1499,11 @@ static void I_InitGraphicsMode(void) texture = NULL; } +#ifdef _WIN32 + // [FG] work-around a bug in Windows 11's Direct3D9 VSync timer + SDL_SetHint(SDL_HINT_RENDER_DRIVER, "direct3d11"); +#endif + renderer = SDL_CreateRenderer(screen, -1, flags); // [FG] try again without hardware acceleration