diff --git a/dom/canvas/WebGLFramebuffer.cpp b/dom/canvas/WebGLFramebuffer.cpp index a5f8452cfef4..65513b5d80fc 100644 --- a/dom/canvas/WebGLFramebuffer.cpp +++ b/dom/canvas/WebGLFramebuffer.cpp @@ -268,6 +268,7 @@ WebGLContext::IsFormatValidForFB(GLenum sizedFormat) const case LOCAL_GL_RGBA4: return true; + case LOCAL_GL_SRGB8: case LOCAL_GL_SRGB8_ALPHA8_EXT: return IsExtensionEnabled(WebGLExtensionID::EXT_sRGB);