Merge pull request #14 from BendedWills/main

CMake & VS2022 support
This commit is contained in:
NOTPIES
2026-03-03 13:06:15 -03:00
committed by GitHub
9 changed files with 1286 additions and 7 deletions

View File

@@ -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);