Skip to content

Commit 09ba753

Browse files
StephenCWillsglebm
authored andcommitted
At shutdown, free surfaces and textures allocated for virtual gamepad graphics
1 parent 553d135 commit 09ba753

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/engine/dx.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ void dx_cleanup()
114114
RendererTextureSurface = nullptr;
115115
#ifndef USE_SDL1
116116
texture = nullptr;
117+
FreeVirtualGamepadTextures();
117118
if (*sgOptions.Graphics.upscale)
118119
SDL_DestroyRenderer(renderer);
119120
#endif

0 commit comments

Comments
 (0)