Fixed a swap chain leak and a double-free in testffmpeg.c
Also added more debug logging to the direct3d11 renderer
This commit is contained in:
1 parent
3158342441
commit
1c4c29b7ad
3 files changed
+77
-19
No files matched your search
+1
-1
@@ -1282,7 +1282,7 @@ int main(int argc, char *argv[])
|
||||
quit:
|
||||
#ifdef SDL_PLATFORM_WIN32
|
||||
if (d3d11_context) {
|
||||
ID3D11DeviceContext_Release(d3d11_device);
|
||||
ID3D11DeviceContext_Release(d3d11_context);
|
||||
d3d11_context = NULL;
|
||||
}
|
||||
if (d3d11_device) {
|
||||
|
||||
Reference in new issue
Block a user