diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-03-30 14:26:29 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-03-30 14:26:29 +0000 |
commit | ec83f38e2e1c46278f047063fa20aa2147ea8714 (patch) | |
tree | 3e7dc512e902204b9f84c3cf2ca8e5fb1fe24f57 /progs/demos/arbfplight.c | |
parent | 197d7256010de6a0e551572f87262c94e5b9e91e (diff) | |
download | external_mesa3d-ec83f38e2e1c46278f047063fa20aa2147ea8714.zip external_mesa3d-ec83f38e2e1c46278f047063fa20aa2147ea8714.tar.gz external_mesa3d-ec83f38e2e1c46278f047063fa20aa2147ea8714.tar.bz2 |
fix bad call to FindLine()
Diffstat (limited to 'progs/demos/arbfplight.c')
-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 6ad95d4..d9c564f 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); |