mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
wasm: fix build error
Added missing parameter for `GlCanvas->target`
This commit is contained in:
parent
1a766ec00e
commit
7e66bde4fb
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ struct TvgGLEngine : TvgEngineMethod
|
|||
#ifdef THORVG_GL_RASTER_SUPPORT
|
||||
emscripten_webgl_make_context_current(context);
|
||||
|
||||
static_cast<GlCanvas*>(canvas)->target(0, w, h);
|
||||
static_cast<GlCanvas*>(canvas)->target(0, w, h, ColorSpace::ABGR8888S);
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue