projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd4c6a2
)
mesa: const qualifiers
author
Brian Paul
<brianp@vmware.com>
Wed, 12 Aug 2009 21:43:50 +0000
(15:43 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 12 Aug 2009 23:28:45 +0000
(17:28 -0600)
src/mesa/main/bufferobj.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/bufferobj.h
b/src/mesa/main/bufferobj.h
index c68291ab919de3b9170a64dae3886c600c7019aa..decb44a65e64e3d4097fea5c4b200b9853b16928 100644
(file)
--- 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;
}