diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-01-26 10:29:00 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-01-26 10:29:04 +0100 |
commit | bf8a3fc881d17f44cdcfdf3639289bef09229c03 (patch) | |
tree | 64ce0274155689b54ec7aadf0edac8fb04b44b40 /src/defaults.cpp | |
parent | 8d06606835e3d01f537ebe96de8b216e64a1f969 (diff) | |
download | mana-bf8a3fc881d17f44cdcfdf3639289bef09229c03.tar.gz mana-bf8a3fc881d17f44cdcfdf3639289bef09229c03.tar.bz2 mana-bf8a3fc881d17f44cdcfdf3639289bef09229c03.tar.xz mana-bf8a3fc881d17f44cdcfdf3639289bef09229c03.zip |
Disable "opengl" by default and remove unused "hwaccel" option
Since we now use SDL2, OpenGL is used through the SDL2 API. This appears
to work very well and handles resizing better (with less flicker). Our
manual OpenGL rendering code is probably obsolete.
The "hwaccel" option referred to hardware accelerations supported by
SDL1 and is no longer relevant.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index 2fcca4f8..2cd81cd2 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -78,11 +78,10 @@ DefaultsData* getConfigDefaults() AddDEF(configData, "particleEmitterSkip", 1); AddDEF(configData, "particleeffects", true); AddDEF(configData, "logToStandardOut", false); - AddDEF(configData, "opengl", true); + AddDEF(configData, "opengl", false); AddDEF(configData, "screenwidth", defaultScreenWidth); AddDEF(configData, "screenheight", defaultScreenHeight); AddDEF(configData, "screen", false); - AddDEF(configData, "hwaccel", false); AddDEF(configData, "sound", false); AddDEF(configData, "sfxVolume", 100); AddDEF(configData, "notificationsVolume", 100); |