minor tweaks
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 15 Oct 2003 20:50:41 +0000 (20:50 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 15 Oct 2003 20:50:41 +0000 (20:50 +0000)
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h

index 8cf2fdf024b7a4ab4a2c65a4ad399ceeb7cb17f6..17ea49b61feacf8bba9d0492b4a93a3f038bdd8e 100644 (file)
@@ -623,7 +623,7 @@ _mesa_BufferSubDataARB(GLenum target, GLintptrARB offset,
    ASSERT_OUTSIDE_BEGIN_END(ctx);
 
    bufObj = buffer_object_subdata_range_good( ctx, target, offset, size,
-                                              "glBufferSubDataARB" );
+                                              "BufferSubDataARB" );
    if (!bufObj) {
       _mesa_error(ctx, GL_INVALID_OPERATION, "glBufferSubDataARB" );
       return;
@@ -648,7 +648,7 @@ _mesa_GetBufferSubDataARB(GLenum target, GLintptrARB offset,
    ASSERT_OUTSIDE_BEGIN_END(ctx);
 
    bufObj = buffer_object_subdata_range_good( ctx, target, offset, size,
-                                              "glGetBufferSubDataARB" );
+                                              "GetBufferSubDataARB" );
    if (!bufObj) {
       _mesa_error(ctx, GL_INVALID_OPERATION, "glGetBufferSubDataARB" );
       return;
index dddaa52714761e1664c2924fefcc946aad843e52..70a411bde63c60ab3eba270eb5b64af96ee96e32 100644 (file)
@@ -93,7 +93,7 @@ _mesa_DeleteBuffersARB(GLsizei n, const GLuint * buffer);
 extern void
 _mesa_GenBuffersARB(GLsizei n, GLuint * buffer);
 
-GLboolean
+extern GLboolean
 _mesa_IsBufferARB(GLuint buffer);
 
 extern void
@@ -108,7 +108,7 @@ _mesa_GetBufferSubDataARB(GLenum target, GLintptrARB offset, GLsizeiptrARB size,
 extern void *
 _mesa_MapBufferARB(GLenum target, GLenum access);
 
-GLboolean
+extern GLboolean
 _mesa_UnmapBufferARB(GLenum target);
 
 extern void