diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp index 2f41c6479..2e07123e5 100644 --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/src/modules/graphics/opengl/Graphics.cpp @@ -37,6 +37,7 @@ namespace opengl // created yet. currentMode.width = 0; currentMode.height = 0; + currentMode.fullscreen = 0; // Window should be centered. SDL_putenv(const_cast("SDL_VIDEO_CENTERED=center"));