d3d*: Don't set the BufferDesc dimmension.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 22 Feb 2013 15:01:10 +0000 (15:01 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 22 Feb 2013 15:01:10 +0000 (15:01 +0000)
apps/d3d10/tri.cpp
apps/d3d10_1/tri.cpp
apps/d3d10_1/tri_level_9_1.cpp
apps/d3d11/tri.cpp
apps/d3d11_1/tri.cpp

index c4d9f2b48c09194ff6790eae5c55d9f1e64ea73a..9e0aec66c248dd3e3b0cabc70325db4c1d727447 100644 (file)
@@ -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;
index 674eaacc453f1fd0293f2f8e23718ae31e7b4548..7f128bcd0627adc7d75b2fedcf6302f3d4bbb689 100644 (file)
@@ -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;
index 76a34f82b1072f7198e02e3a3f1ce842fa65cae0..132b3012dda5ae4ced0fadeec0d7b6150f612efb 100644 (file)
@@ -95,8 +95,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_B8G8R8A8_UNORM;;
     SwapChainDesc.BufferDesc.RefreshRate.Numerator = 60;
     SwapChainDesc.BufferDesc.RefreshRate.Denominator = 1;
index 2227b811667c9a2087b4fbca4cbb76b704dd4b22..fe746313c29902db72c01a187cbc319089f01233 100644 (file)
@@ -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;
index ff297ed69e78d4c912817b741009a23fdbfc4dee..390561ad75f1ec726699abc790ea7f133b3e69e3 100644 (file)
@@ -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;