Refactoring internal frame structure to separate submit encoder.

This commit is contained in:
Branimir Karadžić
2017-10-08 20:47:51 -07:00
parent 7a32c14157
commit 61cee3d3bb
8 changed files with 344 additions and 325 deletions

View File

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