mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
b7aa678078
The upstream is at: http://code.google.com/p/angleproject/ This update allows to pass all conformance tests on Windows with ANGLE renderer; also fixes 2 crashes (see dependent bugs).
34 lines
976 B
Diff
34 lines
976 B
Diff
# HG changeset patch
|
|
# Parent 8d84c8d4e3ed41a4941afdf9d51819b19ca64716
|
|
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
|
|
@@ -98,27 +98,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;
|
|
}
|