From 258c22802ff4aa24df1d14046475e430d3f13a52 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 4 Nov 2011 09:54:42 +0100 Subject: Solved mesa compile problems --- mesalib/src/mesa/swrast/s_readpix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesalib/src/mesa/swrast/s_readpix.c') diff --git a/mesalib/src/mesa/swrast/s_readpix.c b/mesalib/src/mesa/swrast/s_readpix.c index c36746caf..6246c092b 100644 --- a/mesalib/src/mesa/swrast/s_readpix.c +++ b/mesalib/src/mesa/swrast/s_readpix.c @@ -327,7 +327,7 @@ fast_read_depth_stencil_pixels(struct gl_context *ctx, _mesa_unpack_uint_24_8_depth_stencil_row(rb->Format, width, map, (GLuint *)dst); map += stride; - dst += dstStride; + dst = (char*)dst + dstStride; } ctx->Driver.UnmapRenderbuffer(ctx, rb); -- cgit v1.2.3