swrast: Avoid void * arithmetic.

An error with MSVC.
This commit is contained in:
José Fonseca 2011-11-04 08:54:55 +00:00
parent eab201bad4
commit f800a29ee2

View file

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