mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
Remove deleted vertex buffers from device state
This commit is contained in:
parent
3c4a8ef2c5
commit
62e7dc0850
@ -450,6 +450,10 @@ namespace D3dDdi
|
||||
{
|
||||
m_depthStencil = {};
|
||||
}
|
||||
else if (m_streamSource.hVertexBuffer == resource)
|
||||
{
|
||||
m_streamSource = {};
|
||||
}
|
||||
}
|
||||
|
||||
HRESULT DeviceState::setShader(HANDLE shader, HANDLE& currentShader,
|
||||
|
Loading…
x
Reference in New Issue
Block a user