mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 21:53:41 +00:00
wasm: fix a build break
This commit is contained in:
parent
13110fbec7
commit
132213110c
1 changed files with 2 additions and 0 deletions
|
@ -149,7 +149,9 @@ struct TvgWgEngine : TvgEngineMethod
|
||||||
|
|
||||||
void resize(Canvas* canvas, int w, int h) override
|
void resize(Canvas* canvas, int w, int h) override
|
||||||
{
|
{
|
||||||
|
#ifdef THORVG_WG_RASTER_SUPPORT
|
||||||
static_cast<WgCanvas*>(canvas)->target(instance, surface, w, h, device);
|
static_cast<WgCanvas*>(canvas)->target(instance, surface, w, h, device);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue