From d0492cf1377897c8113a109aa936ee7a7084b9c8 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 11 Apr 2003 01:20:06 +0000 Subject: Some groundwork for GL_ARB_vertex/fragment_program. --- src/mesa/swrast/s_nvfragprog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/swrast/s_nvfragprog.c') 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 */ -- cgit v1.2.3