From 8334c4867764201b90afbfed253036aba720e184 Mon Sep 17 00:00:00 2001 From: paibox Date: Sat, 3 May 2014 18:08:49 +0200 Subject: [PATCH] D3D11 scissorrect fix Make sure the D3D11 scissorrect settings actually get applied. --- libobs-d3d11/d3d11-subsystem.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libobs-d3d11/d3d11-subsystem.cpp b/libobs-d3d11/d3d11-subsystem.cpp index 6502d1da5..da4eaeb6e 100644 --- a/libobs-d3d11/d3d11-subsystem.cpp +++ b/libobs-d3d11/d3d11-subsystem.cpp @@ -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,