From 602404b08285b56241ce33f792cc093c6978fb2e Mon Sep 17 00:00:00 2001 From: Karim Naaji Date: Wed, 11 Mar 2020 16:43:53 -0700 Subject: [PATCH] WIP fix webgl error for IE11 --- src/render/painter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/painter.js b/src/render/painter.js index 719530a0fe2..32fbe08548b 100644 --- a/src/render/painter.js +++ b/src/render/painter.js @@ -210,7 +210,7 @@ class Painter { this.emptyTexture = new Texture(context, { width: 1, height: 1, - data: new Uint8ClampedArray([0, 0, 0, 0]) + data: new Uint8Array([0, 0, 0, 0]) }, context.gl.RGBA); const gl = this.context.gl;