From: Brian Paul Date: Fri, 26 Sep 2008 13:45:06 +0000 (-0600) Subject: mesa: remove invalid assertions that programs have parameters X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4a5a37f2760eca97b85f699c932c746da4d8e6c;p=mesa.git mesa: remove invalid assertions that programs have parameters Fixes failure with demos/fplight.c --- 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