mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
mesa: remove invalid assertions that programs have parameters
Fixes failure with demos/fplight.c
This commit is contained in:
parent
4bc39c58eb
commit
a4a5a37f27
1 changed files with 0 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue