mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-19 14:52:40 +08:00
fix(legacy): Mask component stencil test error for native (#266)
This commit is contained in:
committed by
GitHub
parent
c2ab919e9d
commit
3ab299035a
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user