diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-01 17:40:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-01 17:57:47 +0300 |
commit | 5359b7c20b9ee93989a840e555f0a2102b7bb806 (patch) | |
tree | a95017d22a4f3e2f57be59dd4826f3b823a65656 /src/gui | |
parent | 222748a7e0c79225c66485898b913aa60f56cfe2 (diff) | |
download | mv-5359b7c20b9ee93989a840e555f0a2102b7bb806.tar.gz mv-5359b7c20b9ee93989a840e555f0a2102b7bb806.tar.bz2 mv-5359b7c20b9ee93989a840e555f0a2102b7bb806.tar.xz mv-5359b7c20b9ee93989a840e555f0a2102b7bb806.zip |
add SDL2 default render mode.
in this mode SDL using own driver with hardware acceleration.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/debugwindow.cpp | 4 | ||||
-rw-r--r-- | src/gui/setup_video.cpp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp index fdd68092a..39d731bae 100644 --- a/src/gui/debugwindow.cpp +++ b/src/gui/debugwindow.cpp @@ -219,6 +219,10 @@ MapDebugTab::MapDebugTab(const Widget2 *const widget) : // TRANSLATORS: debug window label mFPSText = _("%d FPS (mobile OpenGL)"); break; + case RENDER_SDL2_DEFAULT: + // TRANSLATORS: debug window label + mFPSText = _("%d FPS (SDL2 default)"); + break; }; #else // TRANSLATORS: debug window label diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index f9a7535d0..9dd2484df 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -45,7 +45,7 @@ #include "gui/widgets/textfield.h" #include "gui/widgets/dropdown.h" -#include "render/rendererslist.h" +#include "render/rendererslistsdl.h" #include "resources/image.h" #include "utils/gettext.h" |