From 222748a7e0c79225c66485898b913aa60f56cfe2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 1 Sep 2013 14:41:34 +0300 Subject: add way to map render mode selection to actual modes. --- src/gui/widgets/widget2.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/widget2.h') diff --git a/src/gui/widgets/widget2.h b/src/gui/widgets/widget2.h index 94cc7760e..9e164046b 100644 --- a/src/gui/widgets/widget2.h +++ b/src/gui/widgets/widget2.h @@ -21,9 +21,10 @@ #ifndef GUI_WIDGETS_WIDGET2_H #define GUI_WIDGETS_WIDGET2_H +#include "gui/gui.h" #include "gui/theme.h" -#include "gui/gui.h" +#include "render/renderers.h" class Widget2 { @@ -94,6 +95,6 @@ class Widget2 gcn::Color mForegroundColor2; }; -extern int openGLMode; +extern RenderType openGLMode; #endif // GUI_WIDGETS_WIDGET2_H -- cgit v1.2.3-60-g2f50