Mesa (master): mesa: fix comments for _mesa_clip_readpixels()
Brian Paul
brianp at kemper.freedesktop.org
Fri Feb 18 02:12:45 UTC 2011
Module: Mesa
Branch: master
Commit: d44fbd3c9d976763ec1f4a8f0314f294be8c14f4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d44fbd3c9d976763ec1f4a8f0314f294be8c14f4
Author: Brian Paul <brianp at vmware.com>
Date: Thu Feb 17 18:12:25 2011 -0700
mesa: fix comments for _mesa_clip_readpixels()
---
src/mesa/main/image.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 870e48a..6393613 100644
--- a/src/mesa/main/image.c
+++ b/src/mesa/main/image.c
@@ -1584,8 +1584,8 @@ _mesa_clip_drawpixels(const struct gl_context *ctx,
* scissor box is ignored, and we use the bounds of the current readbuffer
* surface.
*
- * \return GL_TRUE if image is ready for drawing or
- * GL_FALSE if image was completely clipped away (draw nothing)
+ * \return GL_TRUE if region to read is in bounds
+ * GL_FALSE if region is completely out of bounds (nothing to read)
*/
GLboolean
_mesa_clip_readpixels(const struct gl_context *ctx,
More information about the mesa-commit
mailing list