summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-12-07 14:50:02 -0800
committerEric Anholt <eric@anholt.net>2011-12-14 13:18:18 -0800
commit8967f750953ca94aa36e3a8ed703a61f1b434f64 (patch)
tree462e823445395f200f8c97b3dae49c9328c65d63 /src
parentfaa44bc2f64eb2dfa36b553c06c9bf5fe53ed502 (diff)
intel: Drop check for wrapped_depth in RB mapping.
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>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel/intel_fbo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c
index de4807a9ee9..1ec728fc3e4 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -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;