diff options
author | Brian Paul <[email protected]> | 2000-11-28 00:04:39 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-11-28 00:04:39 +0000 |
commit | 4304790e3ea6e8ba953fb53e4304777894358a93 (patch) | |
tree | d29460b34f79b0c18cfa6e8c8dcd198038b90030 /src | |
parent | 6a35de3cc3b963be4be0358dfd8ab86d5b943c59 (diff) |
fixed a convolution pixel store bug
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/swrast/s_readpix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_readpix.c b/src/mesa/swrast/s_readpix.c index ac91dadcf3a..4c5e154b8fd 100644 --- a/src/mesa/swrast/s_readpix.c +++ b/src/mesa/swrast/s_readpix.c @@ -1,4 +1,4 @@ -/* $Id: s_readpix.c,v 1.3 2000/11/13 20:02:57 keithw Exp $ */ +/* $Id: s_readpix.c,v 1.4 2000/11/28 00:04:39 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -688,7 +688,7 @@ static void read_rgba_pixels( GLcontext *ctx, src = convImage; for (row = 0; row < height; row++) { GLvoid *dest; - dest = _mesa_image_address(packing, pixels, width, height, + dest = _mesa_image_address(packing, pixels, readWidth, height, format, type, 0, row, 0); _mesa_pack_float_rgba_span(ctx, readWidth, (const GLfloat (*)[4]) src, |