summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2007-02-28 19:16:43 +0100
committerDavid Reveman <davidr@novell.com>2007-03-01 18:44:05 +0100
commit249c05346cb3f734faf32dd5cf75490d2cba70e9 (patch)
tree9bae947e6bd87c19d5a0844e38c0d8a932bc548b
parent4611424aa4cbbe5a234ec23d76c8945ba2c16168 (diff)
Fix another typo in 4xBilinear filter. Offset parameter should be
multiplied and then added to texture coordinate.
-rw-r--r--plugins/blur.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/blur.c b/plugins/blur.c
index 6ba6dcc6..8a478196 100644
--- a/plugins/blur.c
+++ b/plugins/blur.c
@@ -1135,10 +1135,10 @@ getDstBlurFragmentFunction (CompScreen *s,
"SUB t1, coord, program.env[%d];"
"TEX s1, t1, texture[%d], %s;"
- "MAD t2, coord, program.env[%d], { -1.0, 1.0, 0.0, 0.0 };"
+ "MAD t2, program.env[%d], { -1.0, 1.0, 0.0, 0.0 }, coord;"
"TEX s2, t2, texture[%d], %s;"
- "MAD t3, coord, program.env[%d], { 1.0, -1.0, 0.0, 0.0 };"
+ "MAD t3, program.env[%d], { 1.0, -1.0, 0.0, 0.0 }, coord;"
"TEX s3, t3, texture[%d], %s;"
"TEX dst, coord, texture[%d], %s;"