From ec83f38e2e1c46278f047063fa20aa2147ea8714 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 30 Mar 2006 14:26:29 +0000 Subject: fix bad call to FindLine() --- progs/demos/arbfplight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progs/demos/arbfplight.c') diff --git a/progs/demos/arbfplight.c b/progs/demos/arbfplight.c index 6ad95d4d76d..d9c564fbe56 100644 --- a/progs/demos/arbfplight.c +++ b/progs/demos/arbfplight.c @@ -343,7 +343,7 @@ static void Init( void ) (const GLubyte *) vertProgramText); glGetIntegerv(GL_PROGRAM_ERROR_POSITION_ARB, &errorPos); if (glGetError() != GL_NO_ERROR || errorPos != -1) { - int l = FindLine(fragProgramText, errorPos); + int l = FindLine(vertProgramText, errorPos); printf("Vertex Program Error (pos=%d line=%d): %s\n", errorPos, l, (char *) glGetString(GL_PROGRAM_ERROR_STRING_ARB)); exit(0); -- cgit v1.2.3