mesa: remove invalid assertions that programs have parameters

Fixes failure with demos/fplight.c
This commit is contained in:
Brian Paul
2008-09-26 07:45:06 -06:00
parent 4bc39c58eb
commit a4a5a37f27

View File

@@ -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