gfx/angle/angle-enforce-readpixels-spec.patch
author David Zbarsky <dzbarsky@gmail.com>
Tue, 21 Aug 2012 00:06:46 -0400
changeset 102890 3000e30d082c63adf8222aa82e47245646806ea6
parent 100453 c2c60b40fa7fc705db72242c97d49a82403d50ee
permissions -rw-r--r--
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical

# HG changeset patch
# Parent a1fed68f51737972901e0d6fc829d3e044a453bd
diff --git a/gfx/angle/src/libGLESv2/libGLESv2.cpp b/gfx/angle/src/libGLESv2/libGLESv2.cpp
--- a/gfx/angle/src/libGLESv2/libGLESv2.cpp
+++ b/gfx/angle/src/libGLESv2/libGLESv2.cpp
@@ -231,27 +231,16 @@ bool validReadFormatType(GLenum format, 
         switch (type)
         {
           case GL_UNSIGNED_BYTE:
             break;
           default:
             return false;
         }
         break;
-      case GL_BGRA_EXT:
-        switch (type)
-        {
-          case GL_UNSIGNED_BYTE:
-          case GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT:
-          case GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT:
-            break;
-          default:
-            return false;
-        }
-        break;
       case gl::IMPLEMENTATION_COLOR_READ_FORMAT:
         switch (type)
         {
           case gl::IMPLEMENTATION_COLOR_READ_TYPE:
             break;
           default:
             return false;
         }