summaryrefslogtreecommitdiff
path: root/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-08-31 21:38:53 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-08-31 21:38:53 +0000
commit527835977a3f22d7a01f8d835d73ced5b13d0991 (patch)
treeeb3270737249c90b1756d0550f795c77b11d1f73 /src/mesa/main/framebuffer.c
parent36603539ccdb1c507724d8a1c314e6c9cc9863d9 (diff)
Just additional comments.
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-rw-r--r--src/mesa/main/framebuffer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index c23c60948c..271790c1ca 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -460,7 +460,14 @@ get_renderbuffer(struct gl_framebuffer *fb, GLuint bufferBit)
/**
* Update state related to the current draw/read framebuffers.
+ * Specifically, update these framebuffer fields:
+ * _ColorDrawBuffers
+ * _ColorDrawBit
+ * _NumColorDrawBuffers
+ * _ColorReadBuffer
* If the current framebuffer is user-created, make sure it's complete.
+ * The following functions can effect this state: glReadBuffer,
+ * glDrawBuffer, glDrawBuffersARB, glFramebufferRenderbufferEXT.
*/
void
_mesa_update_framebuffer(GLcontext *ctx)