swrast: fix indentation
authorBrian Paul <brianp@vmware.com>
Fri, 3 Dec 2010 21:49:19 +0000 (14:49 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 3 Dec 2010 21:49:19 +0000 (14:49 -0700)
src/mesa/swrast/s_drawpix.c

index 526837ed257180f7742b94933e115d675feeca40..4d0666898b47d28fe07fa3c0d906df46370e49e6 100644 (file)
@@ -720,12 +720,12 @@ _swrast_DrawPixels( struct gl_context *ctx,
    if (swrast->NewState)
       _swrast_validate_derived( ctx );
 
-    pixels = _mesa_map_pbo_source(ctx, unpack, pixels);
-    if (!pixels) {
-       swrast_render_finish(ctx);
-       _mesa_set_vp_override(ctx, save_vp_override);
-       return;
-    }
+   pixels = _mesa_map_pbo_source(ctx, unpack, pixels);
+   if (!pixels) {
+      swrast_render_finish(ctx);
+      _mesa_set_vp_override(ctx, save_vp_override);
+      return;
+   }
 
    /*
     * By time we get here, all error checking should have been done.