mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Merge branch 'main' into release-0.20
This commit is contained in:
commit
81bdd0c7e6
1 changed files with 4 additions and 4 deletions
|
|
@ -15,16 +15,16 @@ GfxContext::GfxContext(
|
|||
{}
|
||||
|
||||
GfxContext::~GfxContext() {
|
||||
if (g2d) {
|
||||
g2d->flush();
|
||||
}
|
||||
|
||||
while (scissorsCount--) {
|
||||
Window::popScissor();
|
||||
}
|
||||
|
||||
if (parent == nullptr)
|
||||
return;
|
||||
|
||||
if (g2d) {
|
||||
g2d->flush();
|
||||
}
|
||||
|
||||
if (fbo != parent->fbo) {
|
||||
if (fbo) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue