This commit is contained in:
Branimir Karadžić
2017-02-08 18:17:59 -08:00
parent 03e6076e59
commit aa2a9deb5f
7 changed files with 34 additions and 9 deletions

View File

@@ -6601,7 +6601,7 @@ namespace bgfx { namespace gl
else
{
Rect scissorRect;
scissorRect.intersect(viewScissorRect, _render->m_rectCache.m_cache[scissor]);
scissorRect.setIntersect(viewScissorRect, _render->m_rectCache.m_cache[scissor]);
if (scissorRect.isZeroArea() )
{
continue;