summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-08 15:39:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-08 15:39:39 +0300
commit6f51329225efbf5c435d087df3d3e855e93c62b6 (patch)
treea155ab6f2ce101cbfc5081d515720a32a5c357b4 /src/gui/setup_video.cpp
parent363bcc8b277f8c546d9bde4ec2eeae16bcd7f225 (diff)
downloadplus-6f51329225efbf5c435d087df3d3e855e93c62b6.tar.gz
plus-6f51329225efbf5c435d087df3d3e855e93c62b6.tar.bz2
plus-6f51329225efbf5c435d087df3d3e855e93c62b6.tar.xz
plus-6f51329225efbf5c435d087df3d3e855e93c62b6.zip
fix window resize from settings in SDL2.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index 9dd2484df..7b33fea22 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -511,6 +511,7 @@ void Setup_Video::action(const gcn::ActionEvent &event)
}
}
#else
+ mainGraphics->setWindowSize(width, height);
client->resizeVideo(width, height);
#endif
}