summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_api.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-09-08 14:32:08 +0800
committerBrian Paul <[email protected]>2009-09-30 08:31:55 -0600
commit80630d1fed6cd32e75f5e97e2cd27509be21d093 (patch)
tree6013462e7a7b7563c1cccc1489baa2a615d50930 /src/mesa/vbo/vbo_exec_api.c
parentcc95de82e5939586771d478e662cb458bbc42c20 (diff)
mesa/main: New feature FEATURE_arrayelt.
This allows the removal of AEcontext.
Diffstat (limited to 'src/mesa/vbo/vbo_exec_api.c')
-rw-r--r--src/mesa/vbo/vbo_exec_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c
index 387d4ee3d4a..238beee030f 100644
--- a/src/mesa/vbo/vbo_exec_api.c
+++ b/src/mesa/vbo/vbo_exec_api.c
@@ -557,7 +557,8 @@ static void vbo_exec_vtxfmt_init( struct vbo_exec_context *exec )
{
GLvertexformat *vfmt = &exec->vtxfmt;
- vfmt->ArrayElement = _ae_loopback_array_elt; /* generic helper */
+ _MESA_INIT_ARRAYELT_VTXFMT(vfmt, _ae_);
+
vfmt->Begin = vbo_exec_Begin;
#if FEATURE_dlist
vfmt->CallList = _mesa_CallList;