提交 8334c486 编写于 作者: P paibox

D3D11 scissorrect fix

Make sure the D3D11 scissorrect settings actually get applied.
上级 2838a950
......@@ -1396,6 +1396,8 @@ void device_setscissorrect(device_t device, struct gs_rect *rect)
d3drect.bottom = rect->y + rect->cy;
device->context->RSSetScissorRects(1, &d3drect);
}
device->rasterStateChanged = true;
}
void device_ortho(device_t device, float left, float right, float top,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册