Бранимир Караџић 5 vuotta sitten
vanhempi
sitoutus
aeec903fc3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/renderer_d3d12.cpp

+ 1 - 1
src/renderer_d3d12.cpp

@@ -5107,7 +5107,7 @@ namespace bgfx { namespace d3d12
 
 
 #if BX_PLATFORM_WINDOWS
 #if BX_PLATFORM_WINDOWS
 		SwapChainDesc scd;
 		SwapChainDesc scd;
-		bx::memCopy(&scd, &s_renderD3D12->m_scd, sizeof(DXGI_SWAP_CHAIN_DESC) );
+		bx::memCopy(&scd, &s_renderD3D12->m_scd, sizeof(SwapChainDesc) );
 		scd.format     = TextureFormat::Count == _format ? scd.format : s_textureFormat[_format].m_fmt;
 		scd.format     = TextureFormat::Count == _format ? scd.format : s_textureFormat[_format].m_fmt;
 		scd.width      = _width;
 		scd.width      = _width;
 		scd.height     = _height;
 		scd.height     = _height;