mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
use EFBRectangle for scissor rect
This one is backend independed. The backend should recalc such things on their own.
This commit is contained in:
@ -303,9 +303,10 @@ bool Renderer::CheckForResize()
|
||||
return false;
|
||||
}
|
||||
|
||||
void Renderer::SetScissorRect(const TargetRectangle& rc)
|
||||
void Renderer::SetScissorRect(const EFBRectangle& rc)
|
||||
{
|
||||
D3D::context->RSSetScissorRects(1, rc.AsRECT());
|
||||
TargetRectangle trc = ConvertEFBRectangle(rc);
|
||||
D3D::context->RSSetScissorRects(1, trc.AsRECT());
|
||||
}
|
||||
|
||||
void Renderer::SetColorMask()
|
||||
|
Reference in New Issue
Block a user