summaryrefslogtreecommitdiff
path: root/src/graphics.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/graphics.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/graphics.cpp')
-rw-r--r--src/graphics.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index a0e5d921..e71052df 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -28,7 +28,6 @@
#endif
#include "log.h"
-#include "main.h"
#include "graphic/imagerect.h"
@@ -37,8 +36,8 @@
extern volatile int framesToDraw;
-Graphics::Graphics():
- mScreen(0)
+Graphics::Graphics(bool useOpenGL):
+ mScreen(0), useOpenGL(useOpenGL)
{
}