diff options
author | Brian <[email protected]> | 2007-10-17 17:22:06 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-10-17 17:22:06 -0600 |
commit | 17c2f56dc3f2f58ba89d8e305e7d9b423e3cae16 (patch) | |
tree | 0c08a63d5a7b32934373a7234c4e300a0233d2ac /src/mesa/pipe | |
parent | f953c223df26293f955f7d0621a6f917e9cc9768 (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.c | 2 |
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]); } } } |