aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/swrast
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-11-04 09:54:42 +0100
committermarha <marha@users.sourceforge.net>2011-11-04 09:54:42 +0100
commit258c22802ff4aa24df1d14046475e430d3f13a52 (patch)
tree8ccf763704f999d6b027ce0696d1ae2331948128 /mesalib/src/mesa/swrast
parent23e2767dc3e6b8891d4b55b711c70c6bc85a6f85 (diff)
downloadvcxsrv-258c22802ff4aa24df1d14046475e430d3f13a52.tar.gz
vcxsrv-258c22802ff4aa24df1d14046475e430d3f13a52.tar.bz2
vcxsrv-258c22802ff4aa24df1d14046475e430d3f13a52.zip
Solved mesa compile problems
Diffstat (limited to 'mesalib/src/mesa/swrast')
-rw-r--r--mesalib/src/mesa/swrast/s_readpix.c2
1 files changed, 1 insertions, 1 deletions
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);