Commit 34091183 authored by José Fonseca's avatar José Fonseca

mesa: Avoid void * arithmetic.

Should fix MSVC build.
parent 1c0f1dd4
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment