summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-10-17 17:22:06 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-10-17 17:22:06 -0600
commit17c2f56dc3f2f58ba89d8e305e7d9b423e3cae16 (patch)
tree0c08a63d5a7b32934373a7234c4e300a0233d2ac /src
parentf953c223df26293f955f7d0621a6f917e9cc9768 (diff)
fix interpolation bug in nearest-image/linear-mipmap filtering
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/softpipe/sp_tex_sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_tex_sample.c b/src/mesa/pipe/softpipe/sp_tex_sample.c
index 7add74e98a..64cb94d944 100644
--- a/src/mesa/pipe/softpipe/sp_tex_sample.c
+++ b/src/mesa/pipe/softpipe/sp_tex_sample.c
@@ -668,7 +668,7 @@ sp_get_samples_2d_common(struct tgsi_sampler *sampler,
y = y / 2;
get_texel(sampler, faces[j], level1, x, y, 0, rgba2, j);
for (c = 0; c < NUM_CHANNELS; c++) {
- rgba[c][j] = LERP(levelBlend, rgba2[c][j], rgba[c][j]);
+ rgba[c][j] = LERP(levelBlend, rgba[c][j], rgba2[c][j]);
}
}
}