Mesa (master): mesa: remove invalid assertions that programs have parameters
Brian Paul
brianp at kemper.freedesktop.org
Fri Sep 26 13:46:19 UTC 2008
Module: Mesa
Branch: master
Commit: a4a5a37f2760eca97b85f699c932c746da4d8e6c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4a5a37f2760eca97b85f699c932c746da4d8e6c
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date: Fri Sep 26 07:45:06 2008 -0600
mesa: remove invalid assertions that programs have parameters
Fixes failure with demos/fplight.c
---
src/mesa/main/state.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index d233201..48656bd 100644
--- 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
More information about the mesa-commit
mailing list