From 8fbc36ff4895f79d74e61baa451952bdd9ffa965 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 26 Apr 2013 07:26:06 -0600 Subject: [PATCH] mesa: updated read_buffer_enum_to_index() comment Remove the part about the value of gl_framebuffer::Name. --- src/mesa/main/buffers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c index 275ae6db0d1..12e636b1771 100644 --- a/src/mesa/main/buffers.c +++ b/src/mesa/main/buffers.c @@ -227,8 +227,8 @@ read_buffer_enum_to_index(GLenum buffer) * \param buffer buffer token such as GL_LEFT or GL_FRONT_AND_BACK, etc. * * Note that the behaviour of this function depends on whether the - * current ctx->DrawBuffer is a window-system framebuffer (Name=0) or - * a user-created framebuffer object (Name!=0). + * current ctx->DrawBuffer is a window-system framebuffer or a user-created + * framebuffer object. * In the former case, we update the per-context ctx->Color.DrawBuffer * state var _and_ the FB's ColorDrawBuffer state. * In the later case, we update the FB's ColorDrawBuffer state only. -- 2.30.2