Skip to content

Commit

Permalink
Bug 1136507 - L8, LA8, and A8 should not be renderable.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmottola committed Jul 9, 2019
1 parent 0a069cc commit 96e8077
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions dom/canvas/WebGLFramebuffer.cpp
Expand Up @@ -263,9 +263,6 @@ bool
WebGLContext::IsFormatValidForFB(GLenum sizedFormat) const
{
switch (sizedFormat) {
case LOCAL_GL_ALPHA8:
case LOCAL_GL_LUMINANCE8:
case LOCAL_GL_LUMINANCE8_ALPHA8:
case LOCAL_GL_RGB8:
case LOCAL_GL_RGBA8:
case LOCAL_GL_RGB565:
Expand Down

0 comments on commit 96e8077

Please sign in to comment.