summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/intel_mipmap_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
index 5461562d458..eca876bf052 100644
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
@@ -738,7 +738,7 @@ intel_update_winsys_renderbuffer_miptree(struct brw_context *intel,
num_samples);
if (!multisample_mt) {
intel_miptree_release(&singlesample_mt);
- return NULL;
+ return;
}
irb->need_downsample = false;