From fb87976ef6b4445767c2057b8503681edaef154a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 21 Apr 2006 01:02:27 +0000 Subject: use vertex.attrib[3] instead of vertex.color --- progs/tests/arbvptest3.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'progs/tests/arbvptest3.c') diff --git a/progs/tests/arbvptest3.c b/progs/tests/arbvptest3.c index 5f6d4f7e99d..6437062900e 100644 --- a/progs/tests/arbvptest3.c +++ b/progs/tests/arbvptest3.c @@ -1,4 +1,3 @@ -/* Test glGenProgramsNV(), glIsProgramNV(), glLoadProgramNV() */ #include #include @@ -16,7 +15,7 @@ static void Display( void ) glClearColor(0.3, 0.3, 0.3, 1); glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ); - glEnable(GL_VERTEX_PROGRAM_NV); + glEnable(GL_VERTEX_PROGRAM_ARB); glLoadIdentity(); glRotatef(Zrot, 0, 0, 1); @@ -84,7 +83,7 @@ static void Init( void ) static const char *prog1 = "!!ARBvp1.0\n" - "MOV result.color, vertex.color;\n" + "MOV result.color, vertex.attrib[3];\n" "DP4 result.position.x, vertex.position, state.matrix.modelview.row[0];\n" "DP4 result.position.y, vertex.position, state.matrix.modelview.row[1];\n" -- cgit v1.2.3