summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-09-26 07:45:06 -0600
committerBrian Paul <[email protected]>2008-09-26 07:45:06 -0600
commita4a5a37f2760eca97b85f699c932c746da4d8e6c (patch)
tree486cb8fcf2dae842df101e44bc6e6c75cddcf6c1 /src/mesa/main
parent4bc39c58eb7fdf3a0be62bed666998a0d1789dcf (diff)
mesa: remove invalid assertions that programs have parameters
Fixes failure with demos/fplight.c
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/state.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index d233201b0ba..48656bd35ee 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