summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-27 21:47:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-27 21:47:06 +0300
commit0c6cc36b806f1ef2cb75b650ed93210d446e3af6 (patch)
treec12988de642db84d6cf6108668310536390fdc5e /src/graphicsmanager.h
parenta1b59326cb4cd70bb2347e9776965a2a0d4895fd (diff)
downloadmanaverse-0c6cc36b806f1ef2cb75b650ed93210d446e3af6.tar.gz
manaverse-0c6cc36b806f1ef2cb75b650ed93210d446e3af6.tar.bz2
manaverse-0c6cc36b806f1ef2cb75b650ed93210d446e3af6.tar.xz
manaverse-0c6cc36b806f1ef2cb75b650ed93210d446e3af6.zip
Refactor a bit video system initialisation.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index 991d7e63b..6fe51795f 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -78,6 +78,8 @@ class GraphicsManager final
void createRenderers(const bool noOpenGL);
+ void initGraphics(const bool noOpenGL);
+
static void setVideoMode();
SDL_Window *createWindow(const int w, const int h,