projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a60512
)
mesa: added cases for GL_EXT_texture_integer
author
Brian Paul
<brianp@vmware.com>
Sat, 23 Oct 2010 15:40:49 +0000
(09:40 -0600)
committer
Brian Paul
<brianp@vmware.com>
Sat, 23 Oct 2010 16:19:30 +0000
(10:19 -0600)
src/mesa/main/readpix.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/readpix.c
b/src/mesa/main/readpix.c
index 0043c8adc412a50007910eb719419bd16754b956..e2ce264cf0bd828184867ca62a904fa9727b3cdb 100644
(file)
--- 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)) {