diff --git a/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.cpp b/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.cpp index ae0a9af6..39a41bf6 100644 --- a/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.cpp +++ b/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.cpp @@ -65,10 +65,10 @@ namespace skyline::soc::gm20b::engine::maxwell3d { if (deferredDraw.pending) { switch (method) { ENGINE_CASE(vertexBeginGl, { - if (deferredDraw.drawTopology != vertexBeginGl.topology && !vertexBeginGl.instanceContinue) - Logger::Warn("Vertex topology changed partway through instanced draw!"); - if (vertexBeginGl.instanceNext) { + if (deferredDraw.drawTopology != vertexBeginGl.topology && !vertexBeginGl.instanceContinue) + Logger::Warn("Vertex topology changed partway through instanced draw!"); + deferredDraw.instanceCount++; } else if (vertexBeginGl.instanceContinue) { FlushDeferredDraw();