X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=apps%2Fd3d10_1%2Ftri_level_9_1.cpp;h=76a34f82b1072f7198e02e3a3f1ce842fa65cae0;hb=5efeef24814e1744e3c4f3109f82e700576439ab;hp=7c1ae0e1067b4f96c55e4f597ab1da557938b219;hpb=660ae172b47404abb185e2ab74deac02cda7260e;p=apitrace-tests diff --git a/apps/d3d10_1/tri_level_9_1.cpp b/apps/d3d10_1/tri_level_9_1.cpp index 7c1ae0e..76a34f8 100644 --- a/apps/d3d10_1/tri_level_9_1.cpp +++ b/apps/d3d10_1/tri_level_9_1.cpp @@ -106,6 +106,7 @@ int main(int argc, char *argv[]){ SwapChainDesc.BufferCount = 2; SwapChainDesc.OutputWindow = hWnd; SwapChainDesc.Windowed = true; + SwapChainDesc.SwapEffect = DXGI_SWAP_EFFECT_DISCARD; hr = D3D10CreateDeviceAndSwapChain1(NULL, D3D10_DRIVER_TYPE_HARDWARE,