summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_nvfragprog.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-11 01:20:06 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-11 01:20:06 +0000
commitd0492cf1377897c8113a109aa936ee7a7084b9c8 (patch)
tree93fbb24cd921ec0e04365190d44d3d079e02aef3 /src/mesa/swrast/s_nvfragprog.c
parent6cfaff16334981a247694b2ca30fffc398a330d0 (diff)
Some groundwork for GL_ARB_vertex/fragment_program.
Diffstat (limited to 'src/mesa/swrast/s_nvfragprog.c')
-rw-r--r--src/mesa/swrast/s_nvfragprog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_nvfragprog.c b/src/mesa/swrast/s_nvfragprog.c
index 8ab65b8e32..5700b1e784 100644
--- a/src/mesa/swrast/s_nvfragprog.c
+++ b/src/mesa/swrast/s_nvfragprog.c
@@ -1,4 +1,4 @@
-/* $Id: s_nvfragprog.c,v 1.14 2003/04/08 02:27:18 brianp Exp $ */
+/* $Id: s_nvfragprog.c,v 1.15 2003/04/11 01:20:15 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1107,7 +1107,7 @@ init_machine( GLcontext *ctx, struct fp_machine *machine,
/* Load program local parameters */
for (j = 0; j < MAX_NV_FRAGMENT_PROGRAM_PARAMS; j++) {
COPY_4V(machine->Registers[FP_PROG_REG_START + j],
- program->LocalParams[j]);
+ program->Base.LocalParams[j]);
}
/* Load input registers */