mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 17:18:23 -04:00
Check gl context before deleting defaultTexture in flow_gl.
This commit is contained in:
parent
936dd63d4c
commit
3fce9b346e
@ -1351,10 +1351,10 @@ YACReaderPageFlowGL::~YACReaderPageFlowGL()
|
|||||||
delete(images[i].texture);
|
delete(images[i].texture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (defaultTexture != nullptr) {
|
if (defaultTexture != nullptr) {
|
||||||
delete defaultTexture;
|
delete defaultTexture;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user