projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c0f1dd
)
mesa: Avoid void * arithmetic.
author
José Fonseca
<jose.r.fonseca@gmail.com>
Fri, 27 Jan 2012 21:54:12 +0000
(21:54 +0000)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Fri, 27 Jan 2012 21:54:12 +0000
(21:54 +0000)
Should fix MSVC build.
src/mesa/main/bufferobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/bufferobj.c
b/src/mesa/main/bufferobj.c
index e4f964f1826171db107a996fb5f514cb8f5670fa..85ad9b55c8485edc62c44057d45c5bc94b4737a9 100644
(file)
--- a/
src/mesa/main/bufferobj.c
+++ b/
src/mesa/main/bufferobj.c
@@
-520,7
+520,7
@@
_mesa_copy_buffer_subdata(struct gl_context *ctx,
GLintptr readOffset, GLintptr writeOffset,
GLsizeiptr size)
{
-
void
*srcPtr, *dstPtr;
+
GLubyte
*srcPtr, *dstPtr;
/* the buffers should not be mapped */
assert(!_mesa_bufferobj_mapped(src));