fix(legacy): Mask component stencil test error for native (#266)

This commit is contained in:
troublemaker52025
2026-08-14 15:49:57 +08:00
committed by GitHub
parent c2ab919e9d
commit 3ab299035a
+2
View File
@@ -695,6 +695,8 @@ void Batcher2d::reset() {
_currSampler = nullptr;
// stencilManager
_stencilManager->setMaskStackSize(0);
_stencilManager->setStencilStage(static_cast<uint32_t>(StencilStage::DISABLED));
}
void Batcher2d::insertMaskBatch(RenderEntity* entity) {