projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bc39c5
)
mesa: remove invalid assertions that programs have parameters
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 26 Sep 2008 13:45:06 +0000
(07:45 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 26 Sep 2008 13:45:06 +0000
(07:45 -0600)
Fixes failure with demos/fplight.c
src/mesa/main/state.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/state.c
b/src/mesa/main/state.c
index d233201b0ba36cc49eea91691a7a743477b710ab..48656bd35eef35ce6c2b14c3926624310b99e166 100644
(file)
--- a/
src/mesa/main/state.c
+++ b/
src/mesa/main/state.c
@@
-258,12
+258,6
@@
update_program(GLcontext *ctx)
}
}
- if (ctx->VertexProgram._Current)
- assert(ctx->VertexProgram._Current->Base.Parameters);
- if (ctx->FragmentProgram._Current)
- assert(ctx->FragmentProgram._Current->Base.Parameters);
-
-
/* XXX: get rid of _Active flag.
*/
#if 1