X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2Fd3d10%2Ftri.cpp;h=9e0aec66c248dd3e3b0cabc70325db4c1d727447;hp=c4d9f2b48c09194ff6790eae5c55d9f1e64ea73a;hb=29bc86c9885156cfb998ae3aa42ddb026c300398;hpb=6982268801b17e5c39d30a6905f20e65ed0b07dc diff --git a/apps/d3d10/tri.cpp b/apps/d3d10/tri.cpp index c4d9f2b..9e0aec6 100644 --- a/apps/d3d10/tri.cpp +++ b/apps/d3d10/tri.cpp @@ -119,8 +119,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;