diff options
author | Chia-I Wu <[email protected]> | 2009-09-12 18:59:13 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-30 08:31:56 -0600 |
commit | cef97267d696d37f4dccb22951499ca25d5d87ad (patch) | |
tree | 27154b35764d4bd573667b6338e2873a95cc900d /src/mesa/main/vtxfmt.c | |
parent | a73ba2d31b87e974f6846a8aaced704634f6f657 (diff) |
mesa/main: 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.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/vtxfmt.c b/src/mesa/main/vtxfmt.c index 8336ff34d29..c9eea8ab830 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 @@ -195,3 +198,6 @@ void _mesa_restore_exec_vtxfmt( GLcontext *ctx ) tnl->SwapCount = 0; } + + +#endif /* FEATURE_beginend */ |