i965: Fix extra return value after winsys rb update refactor.
authorEric Anholt <eric@anholt.net>
Thu, 20 Feb 2014 17:51:23 +0000 (09:51 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 20 Feb 2014 18:15:13 +0000 (10:15 -0800)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75172
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c

index 5461562d4580f54ff592e5c30779f08d0c911ebc..eca876bf05285011534e585509245d1712c40bca 100644 (file)
@@ -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;