summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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;