From 9e4f25acd69489d949104eebec690ce5586849e6 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 26 Jul 2005 22:33:53 +0000 Subject: OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find a nicer approach after the release. --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index ed6e9427..b1ef5661 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -150,7 +150,7 @@ void init_engine() } // Checking if /home/user/.tmw folder exists. - + homeDir = pass->pw_dir; homeDir += "/.tmw"; //sprintf(homeDir, "%s/.tmw", pass->pw_dir); @@ -219,7 +219,7 @@ void init_engine() SDL_WM_SetCaption("The Mana World", NULL); #ifdef USE_OPENGL - useOpenGL = true; + useOpenGL = (config.getValue("opengl", 0) == 1); #else useOpenGL = false; #endif -- cgit v1.2.3-70-g09d2