From: Brian Paul Date: Fri, 26 Apr 2013 13:26:06 +0000 (-0600) Subject: mesa: updated read_buffer_enum_to_index() comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fbc36ff4895f79d74e61baa451952bdd9ffa965;p=mesa.git mesa: updated read_buffer_enum_to_index() comment Remove the part about the value of gl_framebuffer::Name. --- 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.