From 5bc0b2f4321fe623e37535aa1ff1848aa5a2dec1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 20 Feb 2014 09:51:23 -0800 Subject: i965: Fix extra return value after winsys rb update refactor. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75172 Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3