X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2Fd3d11%2Ftri.cpp;fp=apps%2Fd3d11%2Ftri.cpp;h=fe746313c29902db72c01a187cbc319089f01233;hp=2227b811667c9a2087b4fbca4cbb76b704dd4b22;hb=29bc86c9885156cfb998ae3aa42ddb026c300398;hpb=6982268801b17e5c39d30a6905f20e65ed0b07dc 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;