Skip to content

Commit

Permalink
fix(webgl): withParametersWebGL return value (#2044)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Mar 19, 2024
1 parent e76c576 commit ba9e3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/webgl/src/adapter/webgl-device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,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?: {
Expand Down

0 comments on commit ba9e3f5

Please sign in to comment.