mesa: added comment about future FBO formats
authorBrian Paul <brianp@vmware.com>
Wed, 20 Jan 2010 00:59:50 +0000 (17:59 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 20 Jan 2010 01:01:02 +0000 (18:01 -0700)
src/mesa/main/fbobject.c

index 7b3599f93227c8a97c92f55d9d8c3e02056b0ab9..4da245ab4950f630349f501f141336350ede93fc 100644 (file)
@@ -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)