projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
799f558
)
mesa: s/int/GLsizeiptr/ to silence warning with 64-bit build
author
Brian Paul
<brianp@vmware.com>
Sat, 7 Mar 2009 20:30:03 +0000
(13:30 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 7 Mar 2009 20:30:03 +0000
(13:30 -0700)
src/mesa/vbo/vbo_exec_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_exec_draw.c
b/src/mesa/vbo/vbo_exec_draw.c
index b37874591692378bd7a852d9894643519abc9c13..5381cc4d92a8fa58441532641e7d42e20301e4fc 100644
(file)
--- a/
src/mesa/vbo/vbo_exec_draw.c
+++ b/
src/mesa/vbo/vbo_exec_draw.c
@@
-204,7
+204,7
@@
static void vbo_exec_bind_arrays( GLcontext *ctx )
if (exec->vtx.bufferobj->Name) {
/* a real buffer obj: Ptr is an offset, not a pointer*/
-
int
offset;
+
GLsizeiptr
offset;
assert(exec->vtx.bufferobj->Pointer); /* buf should be mapped */
offset = (GLbyte *) data - (GLbyte *) exec->vtx.bufferobj->Pointer;
assert(offset >= 0);