From 853bda3e7c4dfa7d8cc462729f6a3dce89e44963 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 9 Dec 2003 01:53:03 +0000 Subject: Update NEED_SECONDARY_COLOR macro to test if either vertex/fragment programs are enabled and if they need secondary color input register. Patch by Karl Rasche, with tweaks by Brian. --- src/mesa/swrast_setup/ss_vb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/swrast_setup') diff --git a/src/mesa/swrast_setup/ss_vb.c b/src/mesa/swrast_setup/ss_vb.c index bb9819b5b87..dfa0ea03a2a 100644 --- a/src/mesa/swrast_setup/ss_vb.c +++ b/src/mesa/swrast_setup/ss_vb.c @@ -30,6 +30,7 @@ #include "context.h" #include "macros.h" #include "imports.h" +#include "nvfragprog.h" #include "swrast/swrast.h" #include "tnl/t_context.h" -- cgit v1.2.3