summaryrefslogtreecommitdiff
path: root/sdl2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sdl2.c')
-rw-r--r--sdl2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sdl2.c b/sdl2.c
index 6b30891..e034446 100644
--- a/sdl2.c
+++ b/sdl2.c
@@ -58,8 +58,11 @@ void gui_run(void) {
}
free(pixels);
- SDL_DestroyTexture(texture);
- SDL_DestroyRenderer(renderer);
+
+ // TODO this seems to end in memory access errors but ... why?
+ //SDL_DestroyTexture(texture);
+ //SDL_DestroyRenderer(renderer);
+
SDL_Quit();
}