Fix fullscreen window for SDL only

This commit is contained in:
Andy Vandijck 2025-07-08 14:51:43 +02:00
parent 8dfc9fa14b
commit 22c620967d
1 changed files with 1 additions and 1 deletions

View File

@ -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;