We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74c271a commit 6fab01fCopy full SHA for 6fab01f
1 file changed
src/RenderWebGL.js
@@ -481,7 +481,7 @@ class RenderWebGL extends EventEmitter {
481
this._backgroundColor4f[0] = red;
482
this._backgroundColor4f[1] = green;
483
this._backgroundColor4f[2] = blue;
484
- this._backgroundColor4f[3] = alpha;
+ this._backgroundColor4f[3] = alpha ?? 1;
485
486
this._backgroundColor3b[0] = red * 255;
487
this._backgroundColor3b[1] = green * 255;
0 commit comments