Skip to content

Commit

Permalink
scalar: removes self-provided context param in WebGLRenderer (#5571)
Browse files Browse the repository at this point in the history
  • Loading branch information
japie1235813 committed Feb 17, 2022
1 parent 806dd3e commit d6af2b5
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -283,7 +283,6 @@ export class ThreeRenderer implements ObjectRenderer<CacheValue> {

this.renderer = new THREE.WebGLRenderer({
canvas: canvas as HTMLCanvasElement,
context: canvas.getContext('webgl2') as WebGLRenderingContext,
antialias: true,
alpha: true,
});
Expand Down

0 comments on commit d6af2b5

Please sign in to comment.