projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3a4809
)
raise GL_INVALID_OPERATION if glProgramString compilation fails
author
Brian
<brian.paul@tungstengraphics.com>
Wed, 20 Feb 2008 15:53:41 +0000
(08:53 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Wed, 20 Feb 2008 15:53:41 +0000
(08:53 -0700)
src/mesa/shader/arbprogparse.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/arbprogparse.c
b/src/mesa/shader/arbprogparse.c
index 705507a5246d7ba1bfc4d31fb3b279a1fc006c95..ead0580ed43421e29be9782baa6691f9298606e6 100644
(file)
--- a/
src/mesa/shader/arbprogparse.c
+++ b/
src/mesa/shader/arbprogparse.c
@@
-3964,7
+3964,7
@@
_mesa_parse_arb_vertex_program(GLcontext *ctx, GLenum target,
ASSERT(target == GL_VERTEX_PROGRAM_ARB);
if (!_mesa_parse_arb_program(ctx, target, (const GLubyte*) str, len, &ap)) {
- /* Error in the program. Just return. */
+ _mesa_error(ctx, GL_INVALID_OPERATION, "glProgramString(bad program)");
return;
}