From e16fa288221c5ddbb5b8876dd6b2eee2ab2e0af3 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Sat, 7 Nov 2015 11:09:24 -0800 Subject: [PATCH] Fixing elemental clipping. --- src/xenia/ui/elemental_drawer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/ui/elemental_drawer.cc b/src/xenia/ui/elemental_drawer.cc index 906be457b..5dddbcabc 100644 --- a/src/xenia/ui/elemental_drawer.cc +++ b/src/xenia/ui/elemental_drawer.cc @@ -93,7 +93,7 @@ void ElementalDrawer::RenderBatch(Batch* batch) { draw.count = static_cast(batch->vertex_count); auto bitmap = static_cast(batch->bitmap); draw.texture_handle = bitmap ? bitmap->texture_->handle : 0; - draw.scissor = true; + draw.scissor = current_clip_.w && current_clip_.h; draw.scissor_rect[0] = current_clip_.x; draw.scissor_rect[1] = window_->height() - (current_clip_.y + current_clip_.h);