From 04a81da03bef5020d863e46aa597eddf7aaac016 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 31 Aug 2003 18:52:47 +0000 Subject: Moved some shared vertex/fragment program code into new program.c file. Implemented new program_parameter_list type and functions for dealing with named program parameters, constants and GL state references. New state_index enum for describing GL state referenced within ARB vertex/ fragment programs. Plus, functions for fetching named GL state. --- src/mesa/main/context.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mesa/main/context.c') diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 8e5884a6cb..9151c74899 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -74,7 +74,6 @@ #include "glheader.h" #include "imports.h" #include "accum.h" -#include "arbprogram.h" #include "attrib.h" #include "blend.h" #include "buffers.h" @@ -111,8 +110,8 @@ #include "texstate.h" #include "mtypes.h" #include "varray.h" -#if FEATURE_NV_vertex_program -#include "nvprogram.h" +#if FEATURE_NV_vertex_program || FEATURE_NV_fragment_program +#include "program.h" #endif #include "vtxfmt.h" #if _HAVE_FULL_GL -- cgit v1.2.3