projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd232ae
)
mesa: added comment about future FBO formats
author
Brian Paul
<brianp@vmware.com>
Wed, 20 Jan 2010 00:59:50 +0000
(17:59 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 20 Jan 2010 01:01:02 +0000
(18:01 -0700)
src/mesa/main/fbobject.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/fbobject.c
b/src/mesa/main/fbobject.c
index 7b3599f93227c8a97c92f55d9d8c3e02056b0ab9..4da245ab4950f630349f501f141336350ede93fc 100644
(file)
--- a/
src/mesa/main/fbobject.c
+++ b/
src/mesa/main/fbobject.c
@@
-861,6
+861,9
@@
_mesa_GenRenderbuffersEXT(GLsizei n, GLuint *renderbuffers)
*
* \return one of GL_RGB, GL_RGBA, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT
* GL_DEPTH_STENCIL_EXT or zero if error.
+ *
+ * XXX in the future when we support red-only and red-green formats
+ * we'll also return GL_RED and GL_RG.
*/
GLenum
_mesa_base_fbo_format(GLcontext *ctx, GLenum internalFormat)