summaryrefslogtreecommitdiff
path: root/src/gui/debugwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/debugwindow.cpp')
-rw-r--r--src/gui/debugwindow.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp
index 0d7dee0c2..4f3d22463 100644
--- a/src/gui/debugwindow.cpp
+++ b/src/gui/debugwindow.cpp
@@ -40,6 +40,8 @@
#include "gui/widgets/layouthelper.h"
#include "gui/widgets/scrollarea.h"
+#include "render/renderers.h"
+
#include "resources/imagehelper.h"
#include "net/packetcounters.h"
@@ -202,20 +204,20 @@ MapDebugTab::MapDebugTab(const Widget2 *const widget) :
#ifdef USE_OPENGL
switch (imageHelper->useOpenGL())
{
- case 0:
+ case RENDER_SOFTWARE:
// TRANSLATORS: debug window label
mFPSText = _("%d FPS (Software)");
break;
- case 1:
+ case RENDER_NORMAL_OPENGL:
default:
// TRANSLATORS: debug window label
mFPSText = _("%d FPS (fast OpenGL)");
break;
- case 2:
+ case RENDER_SAFE_OPENGL:
// TRANSLATORS: debug window label
- mFPSText = _("%d FPS (old OpenGL)");
+ mFPSText = _("%d FPS (safe OpenGL)");
break;
- case 3:
+ case RENDER_GLES_OPENGL:
// TRANSLATORS: debug window label
mFPSText = _("%d FPS (mobile OpenGL)");
break;