From d13c1f83e8e7d40c97f2b9e7b4c6ed141ef6897c Mon Sep 17 00:00:00 2001 From: toaster Date: Wed, 26 Oct 2022 20:47:08 +0100 Subject: [PATCH] SDL: OpenGL instead of Direct3D11 for Software blitter Repaired performance regression under certain play conditions --- src/sdl/i_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index f0a8a719..7122c4df 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -1782,7 +1782,7 @@ static SDL_bool Impl_CreateWindow(SDL_bool fullscreen) // "direct3d" driver (D3D9) causes Drmingw exchndl // to not write RPT files. Every other driver // seems fine. - SDL_SetHint(SDL_HINT_RENDER_DRIVER, "direct3d11"); + SDL_SetHint(SDL_HINT_RENDER_DRIVER, "opengl"); renderer = SDL_CreateRenderer(window, -1, flags); if (renderer == NULL)