projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: remove invalid assertions that programs have parameters
[mesa.git]
/
src
/
mesa
/
main
/
state.c
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