diff options
author | Brian Paul <[email protected]> | 2006-11-02 18:35:19 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-11-02 18:35:19 +0000 |
commit | 6f676f4871b1701ec56298f9d22460677ed0e982 (patch) | |
tree | c75dc4c8627163ee0c9515c49815968819f70555 | |
parent | 51b115d5aec4ae7386d143f8bdd0289002802b7b (diff) |
always load frag prog state params for now (see comments)
-rw-r--r-- | src/mesa/swrast/s_context.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index 62cf6f2f5ae..52d560ffdb6 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -227,7 +227,12 @@ _swrast_update_fragment_program(GLcontext *ctx, GLbitfield newState) { if (ctx->FragmentProgram._Enabled) { const struct gl_fragment_program *fp = ctx->FragmentProgram._Current; +#if 0 + /* XXX Need a way to trigger the initial loading of parameters + * even when there's no recent state changes. + */ if (fp->Base.Parameters->StateFlags & newState) +#endif _mesa_load_state_parameters(ctx, fp->Base.Parameters); } } |