summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-22 00:19:17 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:15 +0300
commit89f6264172de327a53db26cdc15b475ca3c7e62e (patch)
treee0c261a2cf65e1cb2a5156a271187ab97d2c195a /src/gui/setup_video.cpp
parentbb0281c87995e11dc1cac95009a5253356d94d1a (diff)
downloadmanaverse-89f6264172de327a53db26cdc15b475ca3c7e62e.tar.gz
manaverse-89f6264172de327a53db26cdc15b475ca3c7e62e.tar.bz2
manaverse-89f6264172de327a53db26cdc15b475ca3c7e62e.tar.xz
manaverse-89f6264172de327a53db26cdc15b475ca3c7e62e.zip
add sdlhelper with some low level SDL functions.
Diffstat (limited to 'src/gui/setup_video.cpp')
-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 14de7cb1a..4d030238e 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -48,6 +48,7 @@
#include "resources/image.h"
#include "utils/gettext.h"
+#include "utils/sdlhelper.h"
#include "test/testmain.h"
@@ -122,7 +123,7 @@ static bool modeSorter(const std::string &mode1, const std::string &mode2)
ModeListModel::ModeListModel() :
mVideoModes()
{
- graphicsManager.getAllVideoModes(mVideoModes);
+ SDL::getAllVideoModes(mVideoModes);
#ifndef ANDROID
addCustomMode("640x480");
addCustomMode("800x600");