aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-01-27 21:54:12 +0000
committerJosé Fonseca <[email protected]>2012-01-27 21:54:12 +0000
commit3409118371b26b534ea64a96ae051392691769f7 (patch)
tree13b2254feaa8911badc5d5253d7bfd76bc7f6027 /src/mesa
parent1c0f1dd42a50464eeb81de4aad8eecf24b3d6c89 (diff)
mesa: Avoid void * arithmetic.
Should fix MSVC build.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/bufferobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index e4f964f1826..85ad9b55c84 100644
--- 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));