summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_depth.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-11-12 11:50:31 -0700
committerBrian Paul <[email protected]>2011-11-15 07:49:26 -0700
commit77c85f014aa1db44f60b1b3291af8132ab65f444 (patch)
tree928324ffb248098d2eca97d4cdc8e9f2768f6cb6 /src/mesa/swrast/s_depth.c
parentbd5ba36bf73fb63e62f779138d5e1ef6fcec6f26 (diff)
mesa: remove _swrast_ReadPixels()
We use the code in main/readpix.c now. Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_depth.c')
-rw-r--r--src/mesa/swrast/s_depth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c
index 6ffa0a31052..8d3ad105bce 100644
--- a/src/mesa/swrast/s_depth.c
+++ b/src/mesa/swrast/s_depth.c
@@ -1248,8 +1248,7 @@ _swrast_depth_bounds_test( struct gl_context *ctx, SWspan *span )
* Read a span of depth values from the given depth renderbuffer, returning
* the values as GLfloats.
* This function does clipping to prevent reading outside the depth buffer's
- * bounds. Though the clipping is redundant when we're called from
- * _swrast_ReadPixels.
+ * bounds.
*/
void
_swrast_read_depth_span_float( struct gl_context *ctx, struct gl_renderbuffer *rb,