summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pixelstore.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-06-29 14:14:03 +1000
committerTimothy Arceri <[email protected]>2017-06-29 14:14:03 +1000
commit6120fbc444862a870e81b263978b5d784bb06f26 (patch)
tree71dcff8cff1054913ebe03fd0d014c2ecfce3701 /src/mesa/main/pixelstore.c
parente0acd625364528f80b35e80dbb4678a202566f6c (diff)
mesa: tidy up white space in pixelstore.c
Diffstat (limited to 'src/mesa/main/pixelstore.c')
-rw-r--r--src/mesa/main/pixelstore.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/main/pixelstore.c b/src/mesa/main/pixelstore.c
index 4738f962135..6123da92278 100644
--- a/src/mesa/main/pixelstore.c
+++ b/src/mesa/main/pixelstore.c
@@ -215,26 +215,26 @@ pixel_storei(GLenum pname, GLint param, bool no_error)
return;
invalid_enum_error:
- _mesa_error( ctx, GL_INVALID_ENUM, "glPixelStore" );
+ _mesa_error(ctx, GL_INVALID_ENUM, "glPixelStore");
return;
invalid_value_error:
- _mesa_error( ctx, GL_INVALID_VALUE, "glPixelStore(param)" );
+ _mesa_error(ctx, GL_INVALID_VALUE, "glPixelStore(param)");
return;
}
void GLAPIENTRY
-_mesa_PixelStorei( GLenum pname, GLint param )
+_mesa_PixelStorei(GLenum pname, GLint param)
{
pixel_storei(pname, param, false);
}
void GLAPIENTRY
-_mesa_PixelStoref( GLenum pname, GLfloat param )
+_mesa_PixelStoref(GLenum pname, GLfloat param)
{
- _mesa_PixelStorei( pname, IROUND(param) );
+ _mesa_PixelStorei(pname, IROUND(param));
}
@@ -256,7 +256,7 @@ _mesa_PixelStoref_no_error(GLenum pname, GLfloat param)
* Initialize the context's pixel store state.
*/
void
-_mesa_init_pixelstore( struct gl_context *ctx )
+_mesa_init_pixelstore(struct gl_context *ctx)
{
/* Pixel transfer */
ctx->Pack.Alignment = 4;