Mesa (master): swrast: fix indentation

Brian Paul brianp at kemper.freedesktop.org
Fri Dec 3 21:49:37 UTC 2010


Module: Mesa
Branch: master
Commit: 8d6a0dc7f35995018b29f24b59e3386531f49592
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d6a0dc7f35995018b29f24b59e3386531f49592

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Dec  3 14:49:19 2010 -0700

swrast: fix indentation

---

 src/mesa/swrast/s_drawpix.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c
index 526837e..4d06668 100644
--- a/src/mesa/swrast/s_drawpix.c
+++ b/src/mesa/swrast/s_drawpix.c
@@ -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.




More information about the mesa-commit mailing list