Mesa (master): main: Minor whitespace fixes in ClearNamedBuffer[Sub]Data.
Laura Ekstrand
ldeks at kemper.freedesktop.org
Tue Mar 17 17:20:05 UTC 2015
Module: Mesa
Branch: master
Commit: 16244525fbe09ff41074eb36a435875892e316a9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=16244525fbe09ff41074eb36a435875892e316a9
Author: Laura Ekstrand <laura at jlekstrand.net>
Date: Wed Feb 11 11:45:57 2015 -0800
main: Minor whitespace fixes in ClearNamedBuffer[Sub]Data.
Reviewed-by: Fredrik Höglund <fredrik at kde.org>
---
src/mesa/main/bufferobj.c | 4 ++--
src/mesa/main/bufferobj.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index ae086a6..0e77f73 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 5254727..2a66444 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,
More information about the mesa-commit
mailing list