Make sure render state is invalidated when resetting.

This commit is contained in:
Jean-Philip Desjardins 2015-11-25 00:28:41 -05:00
parent b41f096739
commit 12572f9d02

View File

@ -131,6 +131,7 @@ void CGSH_Direct3D9::ResetImpl()
memset(&m_vtxBuffer, 0, sizeof(m_vtxBuffer));
m_framebuffers.clear();
m_depthbuffers.clear();
m_renderState.isValid = false;
CGSHandler::ResetImpl();
}