summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/vtxfmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/vtxfmt.c')
-rw-r--r--src/mesa/main/vtxfmt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/vtxfmt.c b/src/mesa/main/vtxfmt.c
index d3c83e5eb3d..ec8f387caec 100644
--- a/src/mesa/main/vtxfmt.c
+++ b/src/mesa/main/vtxfmt.c
@@ -257,8 +257,7 @@ _mesa_install_save_vtxfmt(struct gl_context *ctx, const GLvertexformat *vfmt)
void
_mesa_initialize_vbo_vtxfmt(struct gl_context *ctx)
{
- struct vbo_exec_context *exec = &vbo_context(ctx)->exec;
- _mesa_install_exec_vtxfmt(ctx, &exec->vtxfmt);
+ _vbo_install_exec_vtxfmt(ctx);
if (ctx->API == API_OPENGL_COMPAT) {
_mesa_install_save_vtxfmt(ctx, &ctx->ListState.ListVtxfmt);
}