Commit 49a75d99 authored by Joshua Ashton's avatar Joshua Ashton 🐸

[d3d9] Don't unbind shaders on device reset.

parent f37eb694
......@@ -192,9 +192,6 @@ namespace dxup {
return log::d3derr(D3DERR_INVALIDCALL, "Reset: pPresentationParameters was nullptr.");
// Unbind current state...
SetVertexShader(nullptr);
SetPixelShader(nullptr);
SetDepthStencilSurface(nullptr);
for (uint32_t i = 0; i < 4; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment