diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-09-21 19:29:15 -0700 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-09-21 22:13:52 -0700 |
commit | 34a61c66fd1b625a5606b795d192a49632ff1787 (patch) | |
tree | 6c185413739b4af3b9790df17dc53a76a32f2312 /src/mesa/vbo/vbo_context.c | |
parent | 24172fe595eede2649dd88363d2cda68f928a03e (diff) | |
download | external_mesa3d-34a61c66fd1b625a5606b795d192a49632ff1787.zip external_mesa3d-34a61c66fd1b625a5606b795d192a49632ff1787.tar.gz external_mesa3d-34a61c66fd1b625a5606b795d192a49632ff1787.tar.bz2 |
mesa: refactor: move #define FEATURE flags into new mfeatures.h file
Also, check the FEATURE flags in many places.
(cherry picked from commit 40d1a40f294f1ed2dacfad6f5498322fc08cc2d1)
Conflicts:
src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/texobj.c
src/mesa/main/texstate.c
src/mesa/main/texstore.c
Diffstat (limited to 'src/mesa/vbo/vbo_context.c')
-rw-r--r-- | src/mesa/vbo/vbo_context.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_context.c b/src/mesa/vbo/vbo_context.c index 3813254..a73a46b 100644 --- a/src/mesa/vbo/vbo_context.c +++ b/src/mesa/vbo/vbo_context.c @@ -219,9 +219,10 @@ GLboolean _vbo_CreateContext( GLcontext *ctx ) * vtxfmt mechanism can be removed now. */ vbo_exec_init( ctx ); +#if FEATURE_dlist vbo_save_init( ctx ); +#endif - return GL_TRUE; } @@ -240,7 +241,9 @@ void _vbo_DestroyContext( GLcontext *ctx ) } vbo_exec_destroy(ctx); +#if FEATURE_dlist vbo_save_destroy(ctx); +#endif FREE(vbo_context(ctx)); ctx->swtnl_im = NULL; } |