From: Eric Anholt Date: Wed, 7 Dec 2011 22:50:02 +0000 (-0800) Subject: intel: Drop check for wrapped_depth in RB mapping. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8967f750953ca94aa36e3a8ed703a61f1b434f64;p=mesa.git 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 --- 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;