summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_video.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-15 00:55:51 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-15 00:59:17 +0300
commit1d1ddce1a81cdf65d765444685313afc4b161e5f (patch)
tree7094b343c96642e0acaa02ebce5d618a763faa79 /src/gui/widgets/tabs/setup_video.cpp
parent34dacb3f9d99a0148efc6907fd59274fe830c6d6 (diff)
downloadmanaverse-1d1ddce1a81cdf65d765444685313afc4b161e5f.tar.gz
manaverse-1d1ddce1a81cdf65d765444685313afc4b161e5f.tar.bz2
manaverse-1d1ddce1a81cdf65d765444685313afc4b161e5f.tar.xz
manaverse-1d1ddce1a81cdf65d765444685313afc4b161e5f.zip
Fix manual set resolution in nacl.
Diffstat (limited to 'src/gui/widgets/tabs/setup_video.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp
index 77b56289e..e96320762 100644
--- a/src/gui/widgets/tabs/setup_video.cpp
+++ b/src/gui/widgets/tabs/setup_video.cpp
@@ -378,7 +378,7 @@ void Setup_Video::action(const ActionEvent &event)
if (intToRenderType(config.getIntValue("opengl"))
== RENDER_SOFTWARE)
{
- WindowManager::resizeVideo(width, height, false);
+ WindowManager::doResizeVideo(width, height, false);
}
else
{
@@ -419,7 +419,7 @@ void Setup_Video::action(const ActionEvent &event)
}
#else
mainGraphics->setWindowSize(width, height);
- WindowManager::resizeVideo(width, height, false);
+ WindowManager::doResizeVideo(width, height, false);
#endif
}