diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-07 23:21:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-07 23:21:18 +0300 |
commit | e8ff5419a08bf5eae639bbf6bdebe9692a0b3d53 (patch) | |
tree | 976e8b87c81a6929e5dfe2a8e87cc4b04c590022 /src/client.cpp | |
parent | 5f478df06f4c04bdef94874860a1b40e8d0d62fe (diff) | |
download | manaplus-e8ff5419a08bf5eae639bbf6bdebe9692a0b3d53.tar.gz manaplus-e8ff5419a08bf5eae639bbf6bdebe9692a0b3d53.tar.bz2 manaplus-e8ff5419a08bf5eae639bbf6bdebe9692a0b3d53.tar.xz manaplus-e8ff5419a08bf5eae639bbf6bdebe9692a0b3d53.zip |
Fallback to safe OpenGL mode if OpenGL version is lower than 2.0.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/client.cpp b/src/client.cpp index 12d0b82a3..8ddb5dcdd 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -627,12 +627,7 @@ void Client::gameClear() if (logger) logger->log1("Quitting3"); - delete2(mainGraphics); - - if (imageHelper != surfaceImageHelper) - delete surfaceImageHelper; - surfaceImageHelper = nullptr; - delete2(imageHelper); + graphicsManager.deleteRenderers(); if (logger) logger->log1("Quitting4"); |