Fixed MT 06209
- when deleting the D3D device, it was reset before with outdate presentation information
This commit is contained in:
parent
ee1dbaf5ac
commit
f15b37e5c6
@ -1034,7 +1034,6 @@ void renderer_d3d9::device_delete()
|
|||||||
// free the device itself
|
// free the device itself
|
||||||
if (m_device != nullptr)
|
if (m_device != nullptr)
|
||||||
{
|
{
|
||||||
(*d3dintf->device.reset)(m_device, &m_presentation);
|
|
||||||
(*d3dintf->device.release)(m_device);
|
(*d3dintf->device.release)(m_device);
|
||||||
m_device = nullptr;
|
m_device = nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user