]> git.cworth.org Git - apitrace-tests/blobdiff - apps/d3d10/tri.cpp
Add d3d8 scnapshot. Be consistent with swapeffect.
[apitrace-tests] / apps / d3d10 / tri.cpp
index 1029be91906f95fe618c5735b53dde3f4f020cef..c4d9f2b48c09194ff6790eae5c55d9f1e64ea73a 100644 (file)
@@ -130,6 +130,7 @@ main(int argc, char *argv[])
     SwapChainDesc.BufferCount = 2;
     SwapChainDesc.OutputWindow = hWnd;
     SwapChainDesc.Windowed = true;
+    SwapChainDesc.SwapEffect = DXGI_SWAP_EFFECT_DISCARD;
 
     hr = g_pFactory->CreateSwapChain(g_pDevice, &SwapChainDesc, &g_pSwapChain);
     if (FAILED(hr)) {