projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
197d725
)
fix bad call to FindLine()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 30 Mar 2006 14:26:29 +0000
(14:26 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 30 Mar 2006 14:26:29 +0000
(14:26 +0000)
progs/demos/arbfplight.c
patch
|
blob
|
history
diff --git
a/progs/demos/arbfplight.c
b/progs/demos/arbfplight.c
index 6ad95d4d76d7a020fbc6624960c334e9658b72e3..d9c564fbe5611a312fd6d0a59e237a991b6ae55f 100644
(file)
--- 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(
frag
ProgramText, errorPos);
+ int l = FindLine(
vert
ProgramText, errorPos);
printf("Vertex Program Error (pos=%d line=%d): %s\n", errorPos, l,
(char *) glGetString(GL_PROGRAM_ERROR_STRING_ARB));
exit(0);