summaryrefslogtreecommitdiff
path: root/progs/fp/fp-tri.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-09-18 14:14:56 +0200
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-09-18 14:14:56 +0200
commitfa7529335c38d4c139e5b1fc17a518f7e5fa1d82 (patch)
tree3fefd10c7d6bcad0ba67a31347a369cc5489267f /progs/fp/fp-tri.c
parent1672e8e05996d48e51a1998bd7e9b08b78e012f5 (diff)
progs/fp: Add a bit of local variable testing to fp-tri
Diffstat (limited to 'progs/fp/fp-tri.c')
-rw-r--r--progs/fp/fp-tri.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/fp/fp-tri.c b/progs/fp/fp-tri.c
index cb991f803e..2512e824ee 100644
--- a/progs/fp/fp-tri.c
+++ b/progs/fp/fp-tri.c
@@ -130,6 +130,8 @@ static void Display(void)
{
glClear(GL_COLOR_BUFFER_BIT);
+ glProgramLocalParameter4fARB(GL_FRAGMENT_PROGRAM_ARB, 0, 1.0, 1.0, 0.0, 0.0);
+ glProgramLocalParameter4fARB(GL_FRAGMENT_PROGRAM_ARB, 1, 0.0, 0.0, 1.0, 1.0);
glBegin(GL_TRIANGLES);
glColor3f(0,0,1);
glVertex3f( 0.9, -0.9, -30.0);