summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-12 15:43:50 -0600
committerBrian Paul <[email protected]>2009-08-12 17:28:45 -0600
commitf95b82b4861c14e01ec6af81a8de65c2143952b2 (patch)
treea73693d2df1723be295210d918432e49613225d0 /src/mesa/main/bufferobj.h
parentbd4c6a2e503db43e81ef41f77d876308badd93eb (diff)
mesa: const qualifiers
Diffstat (limited to 'src/mesa/main/bufferobj.h')
-rw-r--r--src/mesa/main/bufferobj.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h
index c68291ab919..decb44a65e6 100644
--- a/src/mesa/main/bufferobj.h
+++ b/src/mesa/main/bufferobj.h
@@ -39,7 +39,7 @@
/** Is the given buffer object currently mapped? */
static INLINE GLboolean
-_mesa_bufferobj_mapped(struct gl_buffer_object *obj)
+_mesa_bufferobj_mapped(const struct gl_buffer_object *obj)
{
return obj->Pointer != NULL;
}
@@ -50,7 +50,7 @@ _mesa_bufferobj_mapped(struct gl_buffer_object *obj)
* always have Name==0. User created buffers have Name!=0.
*/
static INLINE GLboolean
-_mesa_is_bufferobj(struct gl_buffer_object *obj)
+_mesa_is_bufferobj(const struct gl_buffer_object *obj)
{
return obj->Name != 0;
}