From 9484fbb513a035b27dfa9e32a001554b1c8eb4f6 Mon Sep 17 00:00:00 2001 From: Xiaoji Chen Date: Mon, 18 Mar 2024 19:00:13 -0700 Subject: [PATCH] withParametersWebGL return value --- modules/webgl/src/adapter/webgl-device.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/webgl/src/adapter/webgl-device.ts b/modules/webgl/src/adapter/webgl-device.ts index ca5868f4dd..85c5098621 100644 --- a/modules/webgl/src/adapter/webgl-device.ts +++ b/modules/webgl/src/adapter/webgl-device.ts @@ -404,7 +404,7 @@ ${device.info.vendor}, ${device.info.renderer} for canvas: ${device.canvasContex } override withParametersWebGL(parameters: any, func: any): any { - withGLParameters(this.gl, parameters, func); + return withGLParameters(this.gl, parameters, func); } override clearWebGL(options?: {