summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-11-19 15:25:00 +0000
committerBrian Paul <[email protected]>2002-11-19 15:25:00 +0000
commit3a212032e76898df9cf32e179cade2fa5eb60732 (patch)
treebce1a5456d0240b765b90966db8d67701ecd34fb
parentd6113fc20d68f5720740b89c594227d0312bab3e (diff)
put FEATURE_NV_vertex_program around vpstate.h include
-rw-r--r--src/mesa/main/context.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index f43b8708e68..4656f25a701 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,8 +1,8 @@
-/* $Id: context.c,v 1.188 2002/10/30 19:49:29 brianp Exp $ */
+/* $Id: context.c,v 1.189 2002/11/19 15:25:00 brianp Exp $ */
/*
* Mesa 3-D graphics library
- * Version: 4.1
+ * Version: 5.1
*
* Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
*
@@ -49,7 +49,9 @@
#include "texstate.h"
#include "mtypes.h"
#include "varray.h"
+#if FEATURE_NV_vertex_program
#include "vpstate.h"
+#endif
#include "vtxfmt.h"
#include "math/m_translate.h"
#include "math/m_matrix.h"