diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp index 8ee3a6ba2..dd85d4998 100644 --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/src/modules/graphics/opengl/Graphics.cpp @@ -173,7 +173,7 @@ namespace opengl int width, height, fsaa; bool fullscreen, vsync; currentWindow->getWindow(width, height, fullscreen, vsync, fsaa); - return currentWindow->setWindow(width, height, !fullscreen, vsync, fsaa); + return setMode(width, height, !fullscreen, vsync, fsaa); }