Revert "wire vulkan init + gdraw fixes"

This reverts commit 4477781b25d24fa0eba379e745e96b16ad90afbb
This commit is contained in:
kit rae
2026-03-06 02:14:45 +00:00
committed by Kitrae
parent c9d82193df
commit 4cabaad004
3 changed files with 217 additions and 229 deletions

View File

@@ -858,7 +858,7 @@ HRESULT InitDevice()
vp.TopLeftY = 0;
g_pImmediateContext->RSSetViewports( 1, &vp );
RenderManager.Initialise(g_hWnd, width, height);
RenderManager.Initialise(g_pd3dDevice, g_pSwapChain);
return S_OK;
}
@@ -1029,7 +1029,7 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
#endif
app.loadMediaArchive();
RenderManager.Initialise(g_hWnd, g_iScreenWidth, g_iScreenHeight);
RenderManager.Initialise(g_pd3dDevice, g_pSwapChain);
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