projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
154d91c
)
mesa: add GL_RG case to _mesa_source_buffer_exists()
author
Brian Paul
<brianp@vmware.com>
Thu, 21 Oct 2010 22:36:23 +0000
(16:36 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 21 Oct 2010 23:05:35 +0000
(17:05 -0600)
Fixes failure with glReadPixels(format=GL_RG)
src/mesa/main/framebuffer.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/framebuffer.c
b/src/mesa/main/framebuffer.c
index af3b5dfcf9b243260a70dc887f891e7986feb30c..7d55a84dfc7c7e772825fa070fcbc29590796aaf 100644
(file)
--- a/
src/mesa/main/framebuffer.c
+++ b/
src/mesa/main/framebuffer.c
@@
-868,6
+868,7
@@
_mesa_source_buffer_exists(struct gl_context *ctx, GLenum format)
case GL_LUMINANCE:
case GL_LUMINANCE_ALPHA:
case GL_INTENSITY:
+ case GL_RG:
case GL_RGB:
case GL_BGR:
case GL_RGBA: