From 75da203704ceec32d9f233c3d308b571c84a296d Mon Sep 17 00:00:00 2001 From: NepDisk Date: Sun, 15 Feb 2026 15:02:28 -0500 Subject: [PATCH] Reset OGL attributes --- 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 63d0c03ef..e9b426c69 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)