diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 1f4e5af2c..de8e4062d 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -2023,12 +2023,11 @@ static SDL_bool Impl_CreateWindow(SDL_bool fullscreen) else if (cv_vidwait.value) flags |= SDL_RENDERER_PRESENTVSYNC; - // 3 August 2022 - // Possibly a Windows 11 issue; the default - // "direct3d" driver (D3D9) causes Drmingw exchndl - // to not write RPT files. Every other driver - // seems fine. +#ifdef _WIN32 SDL_SetHint(SDL_HINT_RENDER_DRIVER, "direct3d11"); +#else + SDL_SetHint(SDL_HINT_RENDER_DRIVER, "opengl"); +#endif renderer = SDL_CreateRenderer(window, -1, flags); if (renderer == NULL)