projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6c21a2
)
fix convolution regression from revision 1.48 to 1.49
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 1 Nov 2004 01:00:16 +0000
(
01:00
+0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 1 Nov 2004 01:00:16 +0000
(
01:00
+0000)
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 bfcd9cb8f7bd5cc70222a79da3d88aa09866bedf..7454cfd2d2ba4765905317ca0baae31f92da5944 100644
(file)
--- a/
src/mesa/swrast/s_copypix.c
+++ b/
src/mesa/swrast/s_copypix.c
@@
-1,6
+1,6
@@
/*
* Mesa 3-D graphics library
- * Version: 6.
1
+ * Version: 6.
3
*
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
@@
-175,8
+175,6
@@
copy_conv_rgba_pixels(GLcontext *ctx, GLint srcx, GLint srcy,
return;
}
- dest = tmpImage;
-
if (changeBuffer) {
/* choose the read buffer */
_swrast_use_read_buffer(ctx);
@@
-191,6
+189,7
@@
copy_conv_rgba_pixels(GLcontext *ctx, GLint srcx, GLint srcy,
srcy + row, rgba);
chan_span_to_float(width, (CONST GLchan (*)[4]) rgba,
(GLfloat (*)[4]) dest);
+ dest += 4 * width;
}
if (changeBuffer) {