wire vulkan init + gdraw fixes

This commit is contained in:
Kitrae
2026-03-04 19:51:26 -06:00
parent b2c5654a8c
commit 7b63378c97
3 changed files with 229 additions and 217 deletions

View File

@@ -858,7 +858,7 @@ HRESULT InitDevice()
vp.TopLeftY = 0;
g_pImmediateContext->RSSetViewports( 1, &vp );
RenderManager.Initialise(g_pd3dDevice, g_pSwapChain);
RenderManager.Initialise(g_hWnd, width, height);
return S_OK;
}
@@ -1029,7 +1029,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
#endif
app.loadMediaArchive();
RenderManager.Initialise(g_pd3dDevice, g_pSwapChain);
RenderManager.Initialise(g_hWnd, g_iScreenWidth, g_iScreenHeight);
app.loadStringTable();
ui.init(g_pd3dDevice,g_pImmediateContext,g_pRenderTargetView,g_pDepthStencilView,g_iScreenWidth,g_iScreenHeight);
@@ -1747,4 +1747,4 @@ void MemPixStuff()
PIXAddNamedCounter(((float)allSectsTotal)/(4096.0f),"MemSect total pages");
}
#endif
#endif