summaryrefslogtreecommitdiff
path: root/src/mesa/main/vtxfmt.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-12 18:59:13 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-09-13 17:06:16 +0800
commite6f4bc9d824223325f926cbe7ac1b6a55d2b3dba (patch)
treec89f6c18bc5c5bc1173ecb7c5dbb155de18528a6 /src/mesa/main/vtxfmt.c
parent2ae5bf72c2d0d244b7972b8e27e12b1983f5f68e (diff)
mesa: New feature FEATURE_beginend.
This feature corresponds to the Begin/End paradigm. Disabling this feature also eliminates the use of GLvertexformat completely.
Diffstat (limited to 'src/mesa/main/vtxfmt.c')
-rw-r--r--src/mesa/main/vtxfmt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/vtxfmt.c b/src/mesa/main/vtxfmt.c
index 8ba1af6de1..6e0581f62d 100644
--- a/src/mesa/main/vtxfmt.c
+++ b/src/mesa/main/vtxfmt.c
@@ -38,6 +38,9 @@
#include "dlist.h"
+#if FEATURE_beginend
+
+
/* The neutral vertex format. This wraps all tnl module functions,
* verifying that the currently-installed module is valid and then
* installing the function pointers in a lazy fashion. It records the
@@ -198,3 +201,6 @@ void _mesa_restore_exec_vtxfmt( GLcontext *ctx )
tnl->SwapCount = 0;
}
+
+
+#endif /* FEATURE_beginend */