summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-17 17:22:06 -0600
committerBrian <[email protected]>2007-10-17 17:22:06 -0600
commit17c2f56dc3f2f58ba89d8e305e7d9b423e3cae16 (patch)
tree0c08a63d5a7b32934373a7234c4e300a0233d2ac /src/mesa/pipe
parentf953c223df26293f955f7d0621a6f917e9cc9768 (diff)
fix interpolation bug in nearest-image/linear-mipmap filtering
Diffstat (limited to 'src/mesa/pipe')
-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 7add74e98a6..64cb94d9441 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]);
}
}
}