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/vbo/vbo_exec_draw.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/vbo/vbo_exec_draw.c')
-rw-r--r-- | src/mesa/vbo/vbo_exec_draw.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_exec_draw.c b/src/mesa/vbo/vbo_exec_draw.c index 0c258c535e0..ee148df4a12 100644 --- a/src/mesa/vbo/vbo_exec_draw.c +++ b/src/mesa/vbo/vbo_exec_draw.c @@ -35,6 +35,9 @@ #include "vbo_context.h" +#if FEATURE_beginend + + static void vbo_exec_debug_verts( struct vbo_exec_context *exec ) { @@ -411,3 +414,6 @@ vbo_exec_vtx_flush( struct vbo_exec_context *exec, GLboolean unmap ) exec->vtx.prim_count = 0; exec->vtx.vert_count = 0; } + + +#endif /* FEATURE_beginend */ |