From 2651395a5aacb21fcd6408495fdec84f52f87830 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Wed, 18 Feb 2026 15:05:45 -0500 Subject: [PATCH] Reapply "Reset OGL attributes" This reverts commit 4a36c0e0fef8711f0f3ce775205c2b28754dbadd. --- src/sdl/i_video.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sdl/i_video.cpp b/src/sdl/i_video.cpp index ab3643f09..3d84e609d 100644 --- a/src/sdl/i_video.cpp +++ b/src/sdl/i_video.cpp @@ -196,6 +196,8 @@ static const char *fallback_resolution_name = "Fallback"; static bool Impl_RenderContextCreate(void) { + SDL_GL_ResetAttributes(); + if (rendermode != render_opengl) { if (!renderer)