aboutsummaryrefslogtreecommitdiff
path: root/mwe/events/src/window.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-03 10:49:19 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-03 10:49:19 +0100
commited8534e2d150428bcbc4a6df8940323ae8db2925 (patch)
treeb8c2402d13a4de190539e781c037c69d779cf95a /mwe/events/src/window.cpp
parent5e833bba513d97c39f4e0d26b45a9095c32812a6 (diff)
fixed gameloop double window and event poc is working again
Diffstat (limited to 'mwe/events/src/window.cpp')
-rw-r--r--mwe/events/src/window.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/mwe/events/src/window.cpp b/mwe/events/src/window.cpp
index a3bae40..7192e6b 100644
--- a/mwe/events/src/window.cpp
+++ b/mwe/events/src/window.cpp
@@ -36,7 +36,6 @@ bool WindowManager::initWindow() {
}
void WindowManager::destroyWindow() {
- delete uiRenderer;
SDL_DestroyRenderer(renderer);
SDL_DestroyWindow(window);
SDL_Quit();