mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
fix color storage bug in convolution path
This commit is contained in:
parent
ac32b644ee
commit
51a894e6eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue