mesa: Avoid void * arithmetic.

Should fix MSVC build.
This commit is contained in:
José Fonseca
2012-01-27 21:54:12 +00:00
parent 1c0f1dd42a
commit 3409118371

View File

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