From: José Fonseca Date: Fri, 4 Nov 2011 08:54:55 +0000 (+0000) Subject: swrast: Avoid void * arithmetic. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f800a29ee2e331740de8fbc409efa9f0593900fc;p=mesa.git swrast: Avoid void * arithmetic. An error with MSVC. --- diff --git a/src/mesa/swrast/s_readpix.c b/src/mesa/swrast/s_readpix.c index c36746cafaf..50422dbd59f 100644 --- a/src/mesa/swrast/s_readpix.c +++ b/src/mesa/swrast/s_readpix.c @@ -305,7 +305,7 @@ static GLboolean fast_read_depth_stencil_pixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, - GLvoid *dst, int dstStride) + GLubyte *dst, int dstStride) { struct gl_framebuffer *fb = ctx->ReadBuffer; struct gl_renderbuffer *rb = fb->Attachment[BUFFER_DEPTH].Renderbuffer;