|
|
|
@ -206,7 +206,8 @@ void dx_cleanup() |
|
|
|
RendererTextureSurface = nullptr; |
|
|
|
RendererTextureSurface = nullptr; |
|
|
|
#ifndef USE_SDL1 |
|
|
|
#ifndef USE_SDL1 |
|
|
|
texture = nullptr; |
|
|
|
texture = nullptr; |
|
|
|
SDL_DestroyRenderer(renderer); |
|
|
|
if (sgOptions.Graphics.bUpscale) |
|
|
|
|
|
|
|
SDL_DestroyRenderer(renderer); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
SDL_DestroyWindow(ghMainWnd); |
|
|
|
SDL_DestroyWindow(ghMainWnd); |
|
|
|
} |
|
|
|
} |
|
|
|
|