From 22c620967d94ffca2d821e075d724b567e07ea11 Mon Sep 17 00:00:00 2001 From: Andy Vandijck Date: Tue, 8 Jul 2025 14:51:43 +0200 Subject: [PATCH] Fix fullscreen window for SDL only --- src/wx/panel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/panel.cpp b/src/wx/panel.cpp index da889f9c..a0267aae 100644 --- a/src/wx/panel.cpp +++ b/src/wx/panel.cpp @@ -938,7 +938,7 @@ void GameArea::ResetPanel() { void GameArea::ShowFullScreen(bool full) { - if (OPTION(kSDLRenderer) == wxString("direct3d")) { + if ((OPTION(kDispRenderMethod) == config::RenderMethod::kSDL) && (OPTION(kSDLRenderer) == wxString("direct3d"))) { if (panel == NULL) return;