summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/setup_video.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index fef918b5..fecfcdcb 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -267,7 +267,8 @@ void Setup_Video::apply()
}
else
{
- Client::instance()->videoResized(screenWidth, screenHeight);
+ Client::instance()->videoResized(graphics->getWidth(),
+ graphics->getHeight());
config.setValue("screen", fullscreen);
config.setValue("screenwidth", screenWidth);