Mesa (master): mesa: added comment about future FBO formats

Brian Paul brianp at kemper.freedesktop.org
Wed Jan 20 01:01:17 UTC 2010


Module: Mesa
Branch: master
Commit: 031f23ac3a3a9219f93268fb4517ab0f80d9be42
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=031f23ac3a3a9219f93268fb4517ab0f80d9be42

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 19 17:59:50 2010 -0700

mesa: added comment about future FBO formats

---

 src/mesa/main/fbobject.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 7b3599f..4da245a 100644
--- 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)




More information about the mesa-commit mailing list