scissors fix
This commit is contained in:
parent
b36711593b
commit
23f8ab8a77
@ -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…
x
Reference in New Issue
Block a user