mesa: const qualifiers

This commit is contained in:
Brian Paul 2009-08-12 15:43:50 -06:00
parent bd4c6a2e50
commit f95b82b486
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}