X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=apps%2Fd3d11%2Ftri.cpp;h=fe746313c29902db72c01a187cbc319089f01233;hb=29bc86c9885156cfb998ae3aa42ddb026c300398;hp=2227b811667c9a2087b4fbca4cbb76b704dd4b22;hpb=0ba9c4e22bc917a666b8762b734884e72c142ccf;p=apitrace-tests diff --git a/apps/d3d11/tri.cpp b/apps/d3d11/tri.cpp index 2227b81..fe74631 100644 --- a/apps/d3d11/tri.cpp +++ b/apps/d3d11/tri.cpp @@ -98,8 +98,6 @@ main(int argc, char *argv[]) DXGI_SWAP_CHAIN_DESC SwapChainDesc; ZeroMemory(&SwapChainDesc, sizeof SwapChainDesc); - SwapChainDesc.BufferDesc.Width = WindowWidth; - SwapChainDesc.BufferDesc.Height = WindowHeight; SwapChainDesc.BufferDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;; SwapChainDesc.BufferDesc.RefreshRate.Numerator = 60; SwapChainDesc.BufferDesc.RefreshRate.Denominator = 1;