From: Laura Ekstrand Date: Wed, 11 Feb 2015 19:45:57 +0000 (-0800) Subject: main: Minor whitespace fixes in ClearNamedBuffer[Sub]Data. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16244525fbe09ff41074eb36a435875892e316a9;p=mesa.git main: Minor whitespace fixes in ClearNamedBuffer[Sub]Data. Reviewed-by: Fredrik Höglund --- diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index ae086a66b06..0e77f73cf18 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -1794,10 +1794,10 @@ void GLAPIENTRY _mesa_ClearBufferSubData(GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, - const GLvoid* data) + const GLvoid *data) { GET_CURRENT_CONTEXT(ctx); - struct gl_buffer_object* bufObj; + struct gl_buffer_object *bufObj; bufObj = get_buffer(ctx, "glClearBufferSubData", target, GL_INVALID_VALUE); if (!bufObj) diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h index 52547274ff2..2a6644461a8 100644 --- a/src/mesa/main/bufferobj.h +++ b/src/mesa/main/bufferobj.h @@ -220,7 +220,7 @@ _mesa_GetBufferSubData(GLenum target, GLintptrARB offset, void GLAPIENTRY _mesa_ClearBufferData(GLenum target, GLenum internalformat, GLenum format, GLenum type, - const GLvoid * data); + const GLvoid *data); void GLAPIENTRY _mesa_ClearNamedBufferData(GLuint buffer, GLenum internalformat, @@ -231,7 +231,7 @@ void GLAPIENTRY _mesa_ClearBufferSubData(GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, - const GLvoid * data); + const GLvoid *data); void GLAPIENTRY _mesa_ClearNamedBufferSubData(GLuint buffer, GLenum internalformat,