summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp
index ffea7a8a..0db7efa6 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1367,12 +1367,10 @@ void Client::accountLogin(LoginData *loginData)
void Client::handleVideoResize(int width, int height)
{
- if (graphics->getWidth() == width && graphics->getHeight() == height)
- return;
-
graphics->videoResized(width, height);
- videoResized(width, height);
+ // The graphics width/height may be different due to scale
+ videoResized(graphics->getWidth(), graphics->getHeight());
// Since everything appears to have worked out, remember to store the
// new size in the configuration.