summaryrefslogtreecommitdiff
path: root/src/mesa/main/buffers.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-08-31 16:04:17 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-08-31 16:04:17 +0000
commit2c8524b4fb4aa8e56a6b2646b0a8e21732e7aed4 (patch)
treea18b13cd9607c8fb6b2fa400c026a4adbf21a474 /src/mesa/main/buffers.c
parentcbafed8716d0be11db86f0ee4690c1e16f47c35d (diff)
remove dead code, update comments
Diffstat (limited to 'src/mesa/main/buffers.c')
-rw-r--r--src/mesa/main/buffers.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
index 58435e0ede..2be0fba430 100644
--- a/src/mesa/main/buffers.c
+++ b/src/mesa/main/buffers.c
@@ -5,7 +5,7 @@
/*
* Mesa 3-D graphics library
- * Version: 6.3
+ * Version: 6.5
*
* Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
*
@@ -320,14 +320,11 @@ read_buffer_enum_to_bitmask(GLenum buffer)
/**
- * Specify which color buffers to draw into.
+ * Specify which color buffer(s) to draw into for the first color output.
+ * Recall that fragment programs can write to multiple outputs.
+ * \sa _mesa_DrawBuffersARB
*
* \param buffer color buffer, such as GL_LEFT or GL_FRONT_AND_BACK.
- *
- * Flushes the vertices and verifies the parameter and updates the
- * gl_colorbuffer_attrib::_DrawDestMask bitfield. Marks new color state in
- * __GLcontextRec::NewState and notifies the driver via the
- * dd_function_table::DrawBuffer callback.
*/
void GLAPIENTRY
_mesa_DrawBuffer(GLenum buffer)
@@ -370,9 +367,7 @@ _mesa_DrawBuffer(GLenum buffer)
/**
* Called by glDrawBuffersARB; specifies the destination color buffers
* for N fragment program color outputs.
- *
- * XXX This function is called by _mesa_PopAttrib() and we need to do
- * some more work to deal with the current framebuffer binding state!
+ * \sa _mesa_DrawBuffer
*/
void GLAPIENTRY
_mesa_DrawBuffersARB(GLsizei n, const GLenum *buffers)