projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac32b64
)
fix color storage bug in convolution path
author
Brian
<brian@nostromo.localnet.net>
Fri, 6 Apr 2007 03:12:44 +0000
(21:12 -0600)
committer
Brian
<brian@nostromo.localnet.net>
Fri, 6 Apr 2007 03:12:44 +0000
(21:12 -0600)
src/mesa/swrast/s_copypix.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_copypix.c
b/src/mesa/swrast/s_copypix.c
index b400c02ad18f2bc2822265d7c92c7545c943e9d7..8f37a3dc8e5a6b4b0922f3882f31bd2de6efff77 100644
(file)
--- 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));