mirror of
https://git.minecraftlegacy.com/backups/LCEMP.git
synced 2026-11-24 00:10:17 +00:00
Initialize the flags of DSV desc
This commit is contained in:
1 parent
16fd73510f
commit
1e7985dcc3
1 file changed
+2
@@ -730,6 +730,8 @@ app.DebugPrintf("width: %d, height: %d\n", width, height);
|
||||
descDSView.Format = DXGI_FORMAT_D24_UNORM_S8_UINT;
|
||||
descDSView.ViewDimension = D3D11_DSV_DIMENSION_TEXTURE2D;
|
||||
descDSView.Texture2D.MipSlice = 0;
|
||||
// when would this ever be a non-garbage value?
|
||||
descDSView.Flags = 0;
|
||||
|
||||
hr = g_pd3dDevice->CreateDepthStencilView(g_pDepthStencilBuffer, &descDSView, &g_pDepthStencilView);
|
||||
|
||||
|
||||
Reference in new issue
Block a user