summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
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");