X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2Fd3d10%2Ftri.cpp;h=c4d9f2b48c09194ff6790eae5c55d9f1e64ea73a;hp=1029be91906f95fe618c5735b53dde3f4f020cef;hb=0ba9c4e22bc917a666b8762b734884e72c142ccf;hpb=716cd83ce5cc7bd696451ff60c52d4e7443e168a diff --git a/apps/d3d10/tri.cpp b/apps/d3d10/tri.cpp index 1029be9..c4d9f2b 100644 --- a/apps/d3d10/tri.cpp +++ b/apps/d3d10/tri.cpp @@ -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)) {