crashfix for (some) gui elements

looks like we did in fact need to reapply shaders at the tail end of GFXD3D11Device::endReset or it looses track and crashes out
This commit is contained in:
AzaezelX 2020-04-01 21:10:40 -05:00
parent 340adae967
commit 112ad70328

View file

@ -665,7 +665,8 @@ void GFXD3D11Device::endReset(GFXD3D11WindowTarget* windowTarget)
// Now reacquire all the resources we trashed earlier
reacquireDefaultPoolResources();
mD3DDeviceContext->PSSetShader(mLastPixShader, NULL, 0);
mD3DDeviceContext->VSSetShader(mLastVertShader, NULL, 0);
mInitialized = true;
// Mark everything dirty and flush to card, for sanity.
updateStates(true);