mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00
wg_engine: ++exception handling
This commit is contained in:
parent
5154e491cc
commit
7e8743e8fe
1 changed files with 2 additions and 0 deletions
|
@ -312,6 +312,8 @@ bool WgRenderer::clear()
|
|||
|
||||
bool WgRenderer::sync()
|
||||
{
|
||||
if (mContext.invalid()) return false;
|
||||
|
||||
disposeObjects();
|
||||
|
||||
// if texture buffer used
|
||||
|
|
Loading…
Add table
Reference in a new issue