From 6a466cf1ec4f007c551746787869a37b034b86ac Mon Sep 17 00:00:00 2001 From: MihailRis Date: Tue, 19 Nov 2024 05:57:02 +0300 Subject: [PATCH] fix DrawContext --- src/graphics/core/DrawContext.cpp | 1 + 1 file changed, 1 insertion(+) 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; }