summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-02-20 09:51:23 -0800
committerEric Anholt <[email protected]>2014-02-20 10:15:13 -0800
commit5bc0b2f4321fe623e37535aa1ff1848aa5a2dec1 (patch)
tree1839c97343c5d8fcefeac11f07ff6d553d06692d
parent9245206cbfaaa4e18c1f3715eebb5f281070d772 (diff)
i965: Fix extra return value after winsys rb update refactor.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75172 Reviewed-by: Kenneth Graunke <[email protected]>
-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;