intel: Drop check for wrapped_depth in RB mapping.
authorEric Anholt <eric@anholt.net>
Wed, 7 Dec 2011 22:50:02 +0000 (14:50 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 14 Dec 2011 21:18:18 +0000 (13:18 -0800)
This used to be needed because irb->mt would be unset for fake packed
depth/stencil, but no longer.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_fbo.c

index de4807a9ee9b06bb0a08c6e6e24365e2347f29dd..1ec728fc3e4392caf343ab7156b54d5d799e6529 100644 (file)
@@ -122,7 +122,7 @@ intel_map_renderbuffer(struct gl_context *ctx,
    int stride;
 
    /* We sometimes get called with this by our intel_span.c usage. */
-   if (!irb->mt && !irb->wrapped_depth) {
+   if (!irb->mt) {
       *out_map = NULL;
       *out_stride = 0;
       return;