summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_save_api.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-09-09 15:00:08 +0800
committerBrian Paul <[email protected]>2009-09-30 08:31:56 -0600
commita73ba2d31b87e974f6846a8aaced704634f6f657 (patch)
treeb89eb6d9c8cf070c4ebbfd152a2aa1b853ad20ba /src/mesa/vbo/vbo_save_api.c
parentaefa1f6ab1d9267b223b06ae205ab34c8e0d7c02 (diff)
mesa/main: Make FEATURE_dlist follow feature conventions.
As shown in mfeatures.h, this allows users of dlist.h to work without knowing if the feature is available.
Diffstat (limited to 'src/mesa/vbo/vbo_save_api.c')
-rw-r--r--src/mesa/vbo/vbo_save_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c
index 611460dc7ba..4da248e2b88 100644
--- a/src/mesa/vbo/vbo_save_api.c
+++ b/src/mesa/vbo/vbo_save_api.c
@@ -1049,8 +1049,7 @@ static void _save_vtxfmt_init( GLcontext *ctx )
/* This will all require us to fallback to saving the list as opcodes:
*/
- vfmt->CallList = _save_CallList; /* inside begin/end */
- vfmt->CallLists = _save_CallLists; /* inside begin/end */
+ _MESA_INIT_DLIST_VTXFMT(vfmt, _save_); /* inside begin/end */
_MESA_INIT_EVAL_VTXFMT(vfmt, _save_);