feat(gx): sync index buffer in d3d backend

This commit is contained in:
fallenoak 2023-03-10 16:13:18 -06:00
parent 38380ebc35
commit 6723f810ed
2 changed files with 13 additions and 1 deletions

View file

@ -220,6 +220,7 @@ class CGxDeviceD3d : public CGxDevice {
int32_t m_d3dIsHwDevice = 0;
D3DDISPLAYMODE m_desktopDisplayMode;
D3DFORMAT m_devAdapterFormat;
LPDIRECT3DINDEXBUFFER9 m_d3dCurrentIndexBuf;
uint32_t m_deviceStates[DeviceStates_Last];
// Virtual member functions