mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00
wasm binding fixed for wg engine
fixed wrong logic in wg engine initialization process, where initializer return seccuss status in any case
This commit is contained in:
parent
c77b6ec8db
commit
e24c743ab3
1 changed files with 3 additions and 2 deletions
|
@ -507,9 +507,10 @@ private:
|
|||
int init()
|
||||
{
|
||||
#ifdef THORVG_WG_RASTER_SUPPORT
|
||||
TvgWgEngine::init();
|
||||
#endif
|
||||
return TvgWgEngine::init();
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue