mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
fix DrawContext
This commit is contained in:
parent
2bc6cbda2e
commit
6a466cf1ec
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ DrawContext DrawContext::sub(Flushable* flushable) const {
|
||||||
auto ctx = DrawContext(*this);
|
auto ctx = DrawContext(*this);
|
||||||
ctx.parent = this;
|
ctx.parent = this;
|
||||||
ctx.flushable = flushable;
|
ctx.flushable = flushable;
|
||||||
|
ctx.scissorsCount = 0;
|
||||||
return ctx;
|
return ctx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue