diff options
author | marha <marha@users.sourceforge.net> | 2011-09-01 08:06:37 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-09-01 08:06:37 +0200 |
commit | 746359d2f7e675a0bfc48a4ba6f8200cace98df2 (patch) | |
tree | be9e3cd02e43b69c70432036c3c6f90c11a4be7f /mesalib/src/mesa/swrast/s_readpix.c | |
parent | d14fe6598b87092374b1be6eb655153d270c3066 (diff) | |
download | vcxsrv-746359d2f7e675a0bfc48a4ba6f8200cace98df2.tar.gz vcxsrv-746359d2f7e675a0bfc48a4ba6f8200cace98df2.tar.bz2 vcxsrv-746359d2f7e675a0bfc48a4ba6f8200cace98df2.zip |
mesa git update 1 Sep 2011
Diffstat (limited to 'mesalib/src/mesa/swrast/s_readpix.c')
-rw-r--r-- | mesalib/src/mesa/swrast/s_readpix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesalib/src/mesa/swrast/s_readpix.c b/mesalib/src/mesa/swrast/s_readpix.c index 66ca39293..6eec2fc78 100644 --- a/mesalib/src/mesa/swrast/s_readpix.c +++ b/mesalib/src/mesa/swrast/s_readpix.c @@ -332,7 +332,7 @@ read_rgba_pixels( struct gl_context *ctx, /* width should never be > MAX_WIDTH since we did clipping earlier */ ASSERT(width <= MAX_WIDTH); - do { + { const GLint dstStride = _mesa_image_row_stride(packing, width, format, type); GLfloat (*rgba)[4] = swrast->SpanArrays->attribs[FRAG_ATTRIB_COL0]; @@ -359,7 +359,7 @@ read_rgba_pixels( struct gl_context *ctx, dst += dstStride; } - } while (0); + } } |