Fixed state tracking.

This commit is contained in:
Бранимир Караџић 2020-02-04 09:51:21 -08:00
parent 5924652151
commit 3002159da9

View File

@ -7260,6 +7260,7 @@ namespace bgfx { namespace gl
if (currentState.m_startIndex != draw.m_startIndex) if (currentState.m_startIndex != draw.m_startIndex)
{ {
currentState.m_startIndex = draw.m_startIndex;
diffIndexBuffer = true; diffIndexBuffer = true;
} }