swrast: Whitespace fixes.
authorLaura Ekstrand <laura@jlekstrand.net>
Mon, 2 Feb 2015 18:20:57 +0000 (10:20 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Mon, 2 Feb 2015 21:22:26 +0000 (13:22 -0800)
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_blit.c
src/mesa/swrast/s_copypix.c
src/mesa/swrast/swrast.h

index 48936d32917cd17c0fcdbf41be6da947fa8b1cb9..16e5b8c1cb13b648c67587350d2ad9ce8836f808 100644 (file)
@@ -789,7 +789,7 @@ _swrast_BlitFramebuffer(struct gl_context *ctx,
       }
 
       if (!mask)
-        return;
+         return;
    }
 
    if (filter == GL_NEAREST) {
index eeea20e867126978e60005e8aefc82b1a5c511ac..e21c69dbcfa0dc3ddf7f9908c3e35ba887d21509 100644 (file)
@@ -620,9 +620,9 @@ map_readbuffer(struct gl_context *ctx, GLenum type)
  * By time we get here, all parameters will have been error-checked.
  */
 void
-_swrast_CopyPixels( struct gl_context *ctx,
-                   GLint srcx, GLint srcy, GLsizei width, GLsizei height,
-                   GLint destx, GLint desty, GLenum type )
+_swrast_CopyPixels(struct gl_context *ctx,
+                   GLint srcx, GLint srcy, GLsizei width, GLsizei height,
+                   GLint destx, GLint desty, GLenum type)
 {
    SWcontext *swrast = SWRAST_CONTEXT(ctx);
    struct gl_renderbuffer *rb;
@@ -634,9 +634,9 @@ _swrast_CopyPixels( struct gl_context *ctx,
       _swrast_validate_derived( ctx );
 
    if (!(SWRAST_CONTEXT(ctx)->_RasterMask != 0x0 ||
-        ctx->Pixel.ZoomX != 1.0F ||
-        ctx->Pixel.ZoomY != 1.0F ||
-        ctx->_ImageTransferState) &&
+       ctx->Pixel.ZoomX != 1.0F ||
+       ctx->Pixel.ZoomY != 1.0F ||
+       ctx->_ImageTransferState) &&
       swrast_fast_copy_pixels(ctx, ctx->ReadBuffer, ctx->DrawBuffer,
                               srcx, srcy, width, height, destx, desty,
                               type)) {
index 8847bced0cfaf76482ef276d501a8bf88b140c7c..a89dc6cda2cf1fa1d3e1ae855d47dbafc02936ae 100644 (file)
@@ -132,11 +132,11 @@ _swrast_Bitmap( struct gl_context *ctx,
                const GLubyte *bitmap );
 
 extern void
-_swrast_CopyPixels( struct gl_context *ctx,
-                   GLint srcx, GLint srcy,
-                   GLint destx, GLint desty,
-                   GLsizei width, GLsizei height,
-                   GLenum type );
+_swrast_CopyPixels(struct gl_context *ctx,
+                   GLint srcx, GLint srcy,
+                   GLint destx, GLint desty,
+                   GLsizei width, GLsizei height,
+                   GLenum type);
 
 extern GLboolean
 swrast_fast_copy_pixels(struct gl_context *ctx,