From 3002159da9fd88110262251a22cd8fdb935c0be4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Tue, 4 Feb 2020 09:51:21 -0800 Subject: [PATCH] Fixed state tracking. --- src/renderer_gl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index e40ca0893..5b4f9450c 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -7260,6 +7260,7 @@ namespace bgfx { namespace gl if (currentState.m_startIndex != draw.m_startIndex) { + currentState.m_startIndex = draw.m_startIndex; diffIndexBuffer = true; }