diff options
author | Brian Paul <[email protected]> | 2008-09-26 07:45:06 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-09-26 07:45:06 -0600 |
commit | a4a5a37f2760eca97b85f699c932c746da4d8e6c (patch) | |
tree | 486cb8fcf2dae842df101e44bc6e6c75cddcf6c1 /src | |
parent | 4bc39c58eb7fdf3a0be62bed666998a0d1789dcf (diff) |
mesa: remove invalid assertions that programs have parameters
Fixes failure with demos/fplight.c
Diffstat (limited to 'src')
-rw-r--r-- | 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 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 |