From 527835977a3f22d7a01f8d835d73ced5b13d0991 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 31 Aug 2005 21:38:53 +0000 Subject: Just additional comments. --- src/mesa/main/framebuffer.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mesa/main/framebuffer.c') diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index c23c60948c9..271790c1caf 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) -- cgit v1.2.3