From 5359b7c20b9ee93989a840e555f0a2102b7bb806 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 1 Sep 2013 17:40:11 +0300 Subject: add SDL2 default render mode. in this mode SDL using own driver with hardware acceleration. --- src/gui/debugwindow.cpp | 4 ++++ src/gui/setup_video.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gui') 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" -- cgit v1.2.3-70-g09d2