Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed bug 1838 - [Patch] Direct3D resource leak on SDL_DestroyRenderer()
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 16, 2013
1 parent 175bb1e commit 30591b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/render/direct3d/SDL_render_d3d.c
Expand Up @@ -1506,6 +1506,7 @@ D3D_DestroyRenderer(SDL_Renderer * renderer)
}
if (data->d3d) {
IDirect3D9_Release(data->d3d);
ID3DXMatrixStack_Release(data->matrixStack);
SDL_UnloadObject(data->d3dDLL);
}
SDL_free(data);
Expand Down

0 comments on commit 30591b2

Please sign in to comment.