diff --git a/src/util/three.js b/src/util/three.js index e93d0d46..676b41f9 100644 --- a/src/util/three.js +++ b/src/util/three.js @@ -75,9 +75,6 @@ export const paramToGL = function (gl, p) { if (p === CONST.AlphaFormat) { return gl.ALPHA; } - if (p === CONST.RGBFormat) { - return gl.RGB; - } if (p === CONST.RGBAFormat) { return gl.RGBA; }