diff options
author | Brian <brian@nostromo.localnet.net> | 2007-04-05 21:12:44 -0600 |
---|---|---|
committer | Brian <brian@nostromo.localnet.net> | 2007-04-05 21:12:44 -0600 |
commit | 51a894e6ebc3412a6d634a7378806f137374b09a (patch) | |
tree | 2019f0d6779c6c94005564cc48b5b7f46c467b2b /src/mesa/swrast/s_copypix.c | |
parent | ac32b644eec8d4f88d0dd2ec352fcab4871192a2 (diff) |
fix color storage bug in convolution path
Diffstat (limited to 'src/mesa/swrast/s_copypix.c')
-rw-r--r-- | src/mesa/swrast/s_copypix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_copypix.c b/src/mesa/swrast/s_copypix.c index b400c02ad1..8f37a3dc8e 100644 --- a/src/mesa/swrast/s_copypix.c +++ b/src/mesa/swrast/s_copypix.c @@ -163,7 +163,7 @@ copy_conv_rgba_pixels(GLcontext *ctx, GLint srcx, GLint srcy, /* write the new image */ for (row = 0; row < height; row++) { const GLfloat *src = convImage + row * width * 4; - GLvoid *rgba = span.array->color.sz1.rgba; /* row storage */ + GLvoid *rgba = (GLvoid *) span.array->attribs[FRAG_ATTRIB_COL0]; /* copy convolved colors into span array */ _mesa_memcpy(rgba, src, width * 4 * sizeof(GLfloat)); |