diff options
author | Brian Paul <[email protected]> | 2010-10-23 09:40:49 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-10-23 10:19:30 -0600 |
commit | d72bf5e79dfb820309ef28b1f7fe39864d884886 (patch) | |
tree | f6408ae56117d9d3a44528e928c9324c2c3b5ccb /src/mesa | |
parent | 7a60512f849f052a7abc2ad0aa42a0c152e5c5e6 (diff) |
mesa: added cases for GL_EXT_texture_integer
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/readpix.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c index 0043c8adc41..e2ce264cf0b 100644 --- a/src/mesa/main/readpix.c +++ b/src/mesa/main/readpix.c @@ -78,6 +78,16 @@ _mesa_error_check_format_type(struct gl_context *ctx, GLenum format, GLenum type case GL_RGBA: case GL_BGRA: case GL_ABGR_EXT: + case GL_RED_INTEGER_EXT: + case GL_GREEN_INTEGER_EXT: + case GL_BLUE_INTEGER_EXT: + case GL_ALPHA_INTEGER_EXT: + case GL_RGB_INTEGER_EXT: + case GL_RGBA_INTEGER_EXT: + case GL_BGR_INTEGER_EXT: + case GL_BGRA_INTEGER_EXT: + case GL_LUMINANCE_INTEGER_EXT: + case GL_LUMINANCE_ALPHA_INTEGER_EXT: if (!drawing) { /* reading */ if (!_mesa_source_buffer_exists(ctx, GL_COLOR)) { |