projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6a3d8c
)
Disable the else clause which assigns the default fragment program to ctx->FragmentPr...
author
Brian
<brian.paul@tungstengraphics.com>
Mon, 29 Oct 2007 15:23:46 +0000
(09:23 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Mon, 29 Oct 2007 15:25:00 +0000
(09:25 -0600)
The _Current field should either point to the fragment program which is to be
run (GLSL, ARB_f_p, fixed-func-generated, etc) or be NULL if conventional
fixed-function code is to be used. Matches TNL program code.
src/mesa/main/texenvprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texenvprogram.c
b/src/mesa/main/texenvprogram.c
index abc25671341305ae94ea769c8d4cef6c81db4d53..21a290402f530f70ce1c4b53e5252a67d02b938f 100644
(file)
--- a/
src/mesa/main/texenvprogram.c
+++ b/
src/mesa/main/texenvprogram.c
@@
-1279,9
+1279,11
@@
_mesa_UpdateTexEnvProgram( GLcontext *ctx )
_mesa_printf("Found existing texenv program for key %x\n", hash);
}
}
+#if 0
else {
ctx->FragmentProgram._Current = ctx->FragmentProgram.Current;
}
+#endif
/* Tell the driver about the change. Could define a new target for
* this?