From: Eric Anholt Date: Thu, 20 Feb 2014 17:51:23 +0000 (-0800) Subject: i965: Fix extra return value after winsys rb update refactor. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5bc0b2f4321fe623e37535aa1ff1848aa5a2dec1;p=mesa.git i965: Fix extra return value after winsys rb update refactor. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75172 Reviewed-by: Kenneth Graunke --- 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;