projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cc2674
)
undo a test/debug change
author
Brian
<brian@yutani.localnet.net>
Fri, 20 Apr 2007 14:21:49 +0000
(08:21 -0600)
committer
Brian
<brian@yutani.localnet.net>
Sat, 21 Apr 2007 16:05:05 +0000
(10:05 -0600)
src/mesa/swrast/s_fragprog.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_fragprog.c
b/src/mesa/swrast/s_fragprog.c
index 1b5f20d42d602476fe2cfb545b9923dd025e82e4..882fec29efe5a076fed62e561b617303afe9043b 100644
(file)
--- a/
src/mesa/swrast/s_fragprog.c
+++ b/
src/mesa/swrast/s_fragprog.c
@@
-104,7
+104,7
@@
init_machine(GLcontext *ctx, struct gl_program_machine *machine,
if (ctx->FragmentProgram.CallbackEnabled)
inputsRead = ~0;
- if (
1/*program->Base.Target == GL_FRAGMENT_PROGRAM_NV*/
) {
+ if (
program->Base.Target == GL_FRAGMENT_PROGRAM_NV
) {
/* Clear temporary registers (undefined for ARB_f_p) */
_mesa_bzero(machine->Temporaries,
MAX_PROGRAM_TEMPS * 4 * sizeof(GLfloat));