summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp7
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");