]> git.cworth.org Git - apitrace-tests/blobdiff - apps/d3d11/tri.cpp
Attempt of a d3d11.1 test.
[apitrace-tests] / apps / d3d11 / tri.cpp
index 1649bbf67d304da28c7e234239a0cfb3d7e5010c..1ccf20c090a8b1f5b08f1355bb0aa98af5c36b6a 100644 (file)
@@ -250,6 +250,9 @@ int main(int argc, char *argv[]){
     g_pSwapChain->Release();
     g_pSwapChain = NULL;
 
     g_pSwapChain->Release();
     g_pSwapChain = NULL;
 
+    g_pDeviceContext->Release();
+    g_pDeviceContext = NULL;
+
     g_pDevice->Release();
     g_pDevice = NULL;
 
     g_pDevice->Release();
     g_pDevice = NULL;