projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51b115d
)
always load frag prog state params for now (see comments)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 18:35:19 +0000
(18:35 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 18:35:19 +0000
(18:35 +0000)
src/mesa/swrast/s_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_context.c
b/src/mesa/swrast/s_context.c
index 62cf6f2f5aed8116cc5c0ac1dd41663e9e3ff548..52d560ffdb66b3b5e6f25ce6429c53e146b24917 100644
(file)
--- 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);
}
}