X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2Fd3d10_1%2Ftri.cpp;fp=apps%2Fd3d10_1%2Ftri.cpp;h=674eaacc453f1fd0293f2f8e23718ae31e7b4548;hp=b9ed7d52cefa50d18000cb1f147502426ec08156;hb=0ba9c4e22bc917a666b8762b734884e72c142ccf;hpb=700b1cef4ba8cc818d9b9080f368f64c392513ec diff --git a/apps/d3d10_1/tri.cpp b/apps/d3d10_1/tri.cpp index b9ed7d5..674eaac 100644 --- a/apps/d3d10_1/tri.cpp +++ b/apps/d3d10_1/tri.cpp @@ -131,6 +131,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)) {