diff options
Diffstat (limited to 'sdl2.c')
-rw-r--r-- | sdl2.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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(); } |