X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2Fd3d11_1%2Ftri.cpp;fp=apps%2Fd3d11_1%2Ftri.cpp;h=390561ad75f1ec726699abc790ea7f133b3e69e3;hp=ff297ed69e78d4c912817b741009a23fdbfc4dee;hb=29bc86c9885156cfb998ae3aa42ddb026c300398;hpb=6982268801b17e5c39d30a6905f20e65ed0b07dc diff --git a/apps/d3d11_1/tri.cpp b/apps/d3d11_1/tri.cpp index ff297ed..390561a 100644 --- a/apps/d3d11_1/tri.cpp +++ b/apps/d3d11_1/tri.cpp @@ -98,8 +98,6 @@ int 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;