Bug 724476 - ANGLE Bug 293 - Enforce readPixels format/type semantics - r=bjacob

This commit is contained in:
Jeff Gilbert 2012-02-24 14:37:05 -08:00
parent 9148b5f58f
commit 964d6807a5

View File

@ -103,17 +103,6 @@ bool validReadFormatType(GLenum format, GLenum type)
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)
{