diff --git a/src/graphics/core/DrawContext.cpp b/src/graphics/core/DrawContext.cpp index 314bd7b5..7062ad56 100644 --- a/src/graphics/core/DrawContext.cpp +++ b/src/graphics/core/DrawContext.cpp @@ -91,6 +91,7 @@ DrawContext DrawContext::sub(Flushable* flushable) const { auto ctx = DrawContext(*this); ctx.parent = this; ctx.flushable = flushable; + ctx.scissorsCount = 0; return ctx; }