X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=apps%2Fd3d10_1%2Ftri.cpp;h=674eaacc453f1fd0293f2f8e23718ae31e7b4548;hb=5efeef24814e1744e3c4f3109f82e700576439ab;hp=b9ed7d52cefa50d18000cb1f147502426ec08156;hpb=716cd83ce5cc7bd696451ff60c52d4e7443e168a;p=apitrace-tests 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)) {