diff options
author | Eduardo Lima Mitev <[email protected]> | 2015-12-22 18:20:57 +0100 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2016-03-03 15:14:07 +0100 |
commit | 09550c16a51e89dbf64b0864d3fb4ddb6accac52 (patch) | |
tree | 3b40c6caa03580b75a1e177ed218e9fb2d3a2da1 /src/mesa | |
parent | 8d7696f6380c38085029fff0eb00c3c18ea8e017 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/formatquery.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/formatquery.c b/src/mesa/main/formatquery.c index cd32c034477..28d82a206eb 100644 --- a/src/mesa/main/formatquery.c +++ b/src/mesa/main/formatquery.c @@ -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: |