summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_aatriangle.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-12-09 01:53:03 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-12-09 01:53:03 +0000
commit853bda3e7c4dfa7d8cc462729f6a3dce89e44963 (patch)
tree9fdbf1812276c8f1f2bb8e56d82d0d163e22eae0 /src/mesa/swrast/s_aatriangle.c
parente8bec8832b50b8c2310e40951bea8bd78f89715c (diff)
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.
Diffstat (limited to 'src/mesa/swrast/s_aatriangle.c')
-rw-r--r--src/mesa/swrast/s_aatriangle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_aatriangle.c b/src/mesa/swrast/s_aatriangle.c
index b05a7ea28d..1bcaa95d33 100644
--- a/src/mesa/swrast/s_aatriangle.c
+++ b/src/mesa/swrast/s_aatriangle.c
@@ -34,6 +34,7 @@
#include "context.h"
#include "macros.h"
#include "imports.h"
+#include "nvfragprog.h"
#include "s_aatriangle.h"
#include "s_context.h"
#include "s_span.h"