X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2Fd3d10_1%2Ftri.cpp;fp=apps%2Fd3d10_1%2Ftri.cpp;h=7f128bcd0627adc7d75b2fedcf6302f3d4bbb689;hp=674eaacc453f1fd0293f2f8e23718ae31e7b4548;hb=29bc86c9885156cfb998ae3aa42ddb026c300398;hpb=6982268801b17e5c39d30a6905f20e65ed0b07dc diff --git a/apps/d3d10_1/tri.cpp b/apps/d3d10_1/tri.cpp index 674eaac..7f128bc 100644 --- a/apps/d3d10_1/tri.cpp +++ b/apps/d3d10_1/tri.cpp @@ -120,8 +120,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;