diff options
author | Chia-I Wu <[email protected]> | 2009-09-08 14:32:08 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-30 08:31:55 -0600 |
commit | 80630d1fed6cd32e75f5e97e2cd27509be21d093 (patch) | |
tree | 6013462e7a7b7563c1cccc1489baa2a615d50930 /src/mesa/vbo/vbo_save_api.c | |
parent | cc95de82e5939586771d478e662cb458bbc42c20 (diff) |
mesa/main: New feature FEATURE_arrayelt.
This allows the removal of AEcontext.
Diffstat (limited to 'src/mesa/vbo/vbo_save_api.c')
-rw-r--r-- | src/mesa/vbo/vbo_save_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index 41cd21d04b7..6e113443808 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -988,7 +988,8 @@ static void _save_vtxfmt_init( GLcontext *ctx ) struct vbo_save_context *save = &vbo_context(ctx)->save; GLvertexformat *vfmt = &save->vtxfmt; - vfmt->ArrayElement = _ae_loopback_array_elt; /* generic helper */ + _MESA_INIT_ARRAYELT_VTXFMT(vfmt, _ae_); + vfmt->Begin = _save_Begin; vfmt->Color3f = _save_Color3f; vfmt->Color3fv = _save_Color3fv; |