mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 16:40:13 +01:00
mesa/formatquery: Add support for READ_PIXELS query
This is supported since very early version of OpenGL, but we still call the driver to give it the opportunity to report caveat or no support. Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
8d7696f638
commit
09550c16a5
1 changed files with 2 additions and 1 deletions
|
|
@ -1090,7 +1090,8 @@ _mesa_GetInternalformativ(GLenum target, GLenum internalformat, GLenum pname,
|
|||
break;
|
||||
|
||||
case GL_READ_PIXELS:
|
||||
/* @TODO */
|
||||
ctx->Driver.QueryInternalFormat(ctx, target, internalformat, pname,
|
||||
buffer);
|
||||
break;
|
||||
|
||||
case GL_READ_PIXELS_FORMAT:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue