summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-12-07 14:50:02 -0800
committerEric Anholt <[email protected]>2011-12-14 13:18:18 -0800
commit8967f750953ca94aa36e3a8ed703a61f1b434f64 (patch)
tree462e823445395f200f8c97b3dae49c9328c65d63 /src/mesa/drivers
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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-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;