From 8967f750953ca94aa36e3a8ed703a61f1b434f64 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 7 Dec 2011 14:50:02 -0800 Subject: 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 --- src/mesa/drivers/dri/intel/intel_fbo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3