Commit 4b8df2f5 by Nicolas Capens

Provide missing OpenGL ES 1.x extension for implementation read format/type.

Bug 14643416 Change-Id: Ie710b76fcf1f64849a4f0556c3f0db587304000e Reviewed-on: https://swiftshader-review.googlesource.com/1870Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent 66be2450
......@@ -1082,13 +1082,13 @@ bool Context::getIntegerv(GLenum pname, GLint *params)
}
}
break;
case GL_IMPLEMENTATION_COLOR_READ_TYPE:
case GL_IMPLEMENTATION_COLOR_READ_TYPE_OES:
{
Framebuffer *framebuffer = getFramebuffer();
*params = framebuffer->getImplementationColorReadType();
}
break;
case GL_IMPLEMENTATION_COLOR_READ_FORMAT:
case GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES:
{
Framebuffer *framebuffer = getFramebuffer();
*params = framebuffer->getImplementationColorReadFormat();
......
......@@ -2409,6 +2409,7 @@ const GLubyte* GL_APIENTRY glGetString(GLenum name)
"GL_OES_element_index_uint "
"GL_OES_framebuffer_object "
"GL_OES_packed_depth_stencil "
"GL_OES_read_format "
"GL_OES_rgb8_rgba8 "
"GL_OES_stencil8 "
"GL_OES_stencil_wrap "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment