Fixed MT 06209

- when deleting the D3D device, it was reset before with outdate presentation information
This commit is contained in:
ImJezze 2016-05-14 18:19:10 +02:00
parent ee1dbaf5ac
commit f15b37e5c6

View File

@ -1034,7 +1034,6 @@ void renderer_d3d9::device_delete()
// free the device itself
if (m_device != nullptr)
{
(*d3dintf->device.reset)(m_device, &m_presentation);
(*d3dintf->device.release)(m_device);
m_device = nullptr;
}