Update code/platform_win32/4ed_dx11_render.cpp
Co-authored-by: Simon Anciaux <14198779+mrmixer@users.noreply.github.com>
This commit is contained in:
parent
27b4626907
commit
0ee8e3904a
|
@ -561,7 +561,9 @@ gl_render(Render_Target *t){
|
|||
Rect_i32 box = Ri32(group->clip_box);
|
||||
|
||||
// NOTE(FS): Ignore this group if we our scissor rectangle is not well defined
|
||||
if ((rect_width(box) <= 0) || (rect_height(box) <= 0)) continue;
|
||||
if ((rect_width(box) <= 0) || (rect_height(box) <= 0)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
D3D11_RECT group_scissor = { };
|
||||
group_scissor.left = box.x0;
|
||||
|
|
Loading…
Reference in New Issue