aboutsummaryrefslogtreecommitdiffstats
path: root/progs/fpglsl/fp-tri.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/fpglsl/fp-tri.c')
-rw-r--r--progs/fpglsl/fp-tri.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/fpglsl/fp-tri.c b/progs/fpglsl/fp-tri.c
index c9b08fbbad7..8af09845dd8 100644
--- a/progs/fpglsl/fp-tri.c
+++ b/progs/fpglsl/fp-tri.c
@@ -129,6 +129,11 @@ static void setup_uniforms()
}
{
+ GLint loci = glGetUniformLocationARB(program, "KernelSizeInt");
+ if (loci >= 0)
+ glUniform1i(loci, 4);
+ }
+ {
GLint loc1f = glGetUniformLocationARB(program, "KernelValue1f");
GLint loc2f = glGetUniformLocationARB(program, "KernelValue2f");
GLint loc4f = glGetUniformLocationARB(program, "KernelValue4f");