From 3987ae62b77e321171fd8862d1d838d85b71dc93 Mon Sep 17 00:00:00 2001 From: Sam Ritchie <22311-sritchie@users.noreply.gitgud.io> Date: Fri, 18 Feb 2022 05:52:40 +0000 Subject: [PATCH] Remove missing RGBFormat --- src/util/three.js | 3 --- 1 file changed, 3 deletions(-) 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; }