main: Minor whitespace fixes in ClearNamedBuffer[Sub]Data.
authorLaura Ekstrand <laura@jlekstrand.net>
Wed, 11 Feb 2015 19:45:57 +0000 (11:45 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Tue, 17 Mar 2015 17:18:34 +0000 (10:18 -0700)
Reviewed-by: Fredrik Höglund <fredrik@kde.org>
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h

index ae086a66b06cb95c4c5d6479b73f087a9f1176f2..0e77f73cf1888c45f93d6855f18c7cde4f74a513 100644 (file)
@@ -1794,10 +1794,10 @@ void GLAPIENTRY
 _mesa_ClearBufferSubData(GLenum target, GLenum internalformat,
                          GLintptr offset, GLsizeiptr size,
                          GLenum format, GLenum type,
-                         const GLvoiddata)
+                         const GLvoid *data)
 {
    GET_CURRENT_CONTEXT(ctx);
-   struct gl_buffer_objectbufObj;
+   struct gl_buffer_object *bufObj;
 
    bufObj = get_buffer(ctx, "glClearBufferSubData", target, GL_INVALID_VALUE);
    if (!bufObj)
index 52547274ff29992a85703f1107cb430ce90492fb..2a6644461a8decccc1009787647a871efbc1ef35 100644 (file)
@@ -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,