From 7e66bde4fb2f51ed092ea704e5f7aedd8c3b54fb Mon Sep 17 00:00:00 2001 From: Jinny You Date: Wed, 27 Nov 2024 15:51:22 +0900 Subject: [PATCH] wasm: fix build error Added missing parameter for `GlCanvas->target` --- src/bindings/wasm/tvgWasmLottieAnimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/wasm/tvgWasmLottieAnimation.cpp b/src/bindings/wasm/tvgWasmLottieAnimation.cpp index 07099eb4..58f21045 100644 --- a/src/bindings/wasm/tvgWasmLottieAnimation.cpp +++ b/src/bindings/wasm/tvgWasmLottieAnimation.cpp @@ -201,7 +201,7 @@ struct TvgGLEngine : TvgEngineMethod #ifdef THORVG_GL_RASTER_SUPPORT emscripten_webgl_make_context_current(context); - static_cast(canvas)->target(0, w, h); + static_cast(canvas)->target(0, w, h, ColorSpace::ABGR8888S); #endif } };