diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-12-24 12:31:02 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-12-24 12:31:02 +0000 |
commit | eaa16c5602d7f9081ef16c799f4492b68cc81a9c (patch) | |
tree | 5ff83fa26f7675dd6feb66c0bca2138a90ee4bf7 /src/main.cpp | |
parent | 3134c856230ad9d84a009ae7ed4d08a56aecaad7 (diff) | |
download | mana-eaa16c5602d7f9081ef16c799f4492b68cc81a9c.tar.gz mana-eaa16c5602d7f9081ef16c799f4492b68cc81a9c.tar.bz2 mana-eaa16c5602d7f9081ef16c799f4492b68cc81a9c.tar.xz mana-eaa16c5602d7f9081ef16c799f4492b68cc81a9c.zip |
Fringe layer draw fix and change in policy on when using OpenGL is the default.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 03e6000f..7daba4bf 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -181,11 +181,11 @@ void init_engine() config.setValue("host", "animesites.de"); config.setValue("port", 6901); config.setValue("hwaccel", 0); - #if defined __APPLE__ || defined WIN32 || defined USE_OPENGL +#if (defined __APPLE__ || defined WIN32) && defined USE_OPENGL config.setValue("opengl", 1); - #else +#else config.setValue("opengl", 0); - #endif +#endif config.setValue("screen", 0); config.setValue("sound", 1); config.setValue("guialpha", 0.8f); |