diff options
author | Brian Paul <[email protected]> | 2006-03-30 14:26:29 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-03-30 14:26:29 +0000 |
commit | ec83f38e2e1c46278f047063fa20aa2147ea8714 (patch) | |
tree | 3e7dc512e902204b9f84c3cf2ca8e5fb1fe24f57 | |
parent | 197d7256010de6a0e551572f87262c94e5b9e91e (diff) |
fix bad call to FindLine()
-rw-r--r-- | progs/demos/arbfplight.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |