summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-14 23:17:58 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-14 23:17:58 +0000
commit1c38618bb88e2e2b6f2c110382737e8e03c54a86 (patch)
treeaa5a03382f0414b567dd07b0c595d0c73245316a /src/main.cpp
parent8e1c3b592c9ebcec9e006bcc54eea55bfea4a864 (diff)
downloadmana-1c38618bb88e2e2b6f2c110382737e8e03c54a86.tar.gz
mana-1c38618bb88e2e2b6f2c110382737e8e03c54a86.tar.bz2
mana-1c38618bb88e2e2b6f2c110382737e8e03c54a86.tar.xz
mana-1c38618bb88e2e2b6f2c110382737e8e03c54a86.zip
Started to fade out the useOpenGL global variable.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index bbddce5f..24f9cb76 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -236,7 +236,7 @@ void init_engine()
hwaccel = ((int)config.getValue("hwaccel", 0) == 1);
// Create the graphics context
- graphics = new Graphics();
+ graphics = new Graphics(useOpenGL);
// Try to set the desired video mode
if (!graphics->setVideoMode(width, height, bpp, fullscreen, hwaccel)) {