diff options
author | Brian Paul <[email protected]> | 2011-12-24 08:54:25 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-12-24 08:54:25 -0700 |
commit | fd104a84591ae854c5d6adc81e2dc31ef6ab9e8a (patch) | |
tree | 4af4daba5c5ead84b87db74a6f047f2e992db537 /src/mesa/swrast/s_depth.h | |
parent | fb758aab27268593fa6e186d746e8f72831b214d (diff) |
swrast: do depth/stencil clearing with Map/UnmapRenderbuffer()
Another step toward getting rid of the renderbuffer PutRow/etc functions.
v2: fix assorted depth/stencil clear bugs found by Eric
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_depth.h')
-rw-r--r-- | src/mesa/swrast/s_depth.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_depth.h b/src/mesa/swrast/s_depth.h index 2caea82e081..25a7a0bbf83 100644 --- a/src/mesa/swrast/s_depth.h +++ b/src/mesa/swrast/s_depth.h @@ -49,7 +49,10 @@ _swrast_read_depth_span_float( struct gl_context *ctx, struct gl_renderbuffer *r GLint n, GLint x, GLint y, GLfloat depth[] ); extern void -_swrast_clear_depth_buffer( struct gl_context *ctx, struct gl_renderbuffer *rb ); +_swrast_clear_depth_buffer(struct gl_context *ctx); + +extern void +_swrast_clear_depth_stencil_buffer(struct gl_context *ctx); #endif |