summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/vbo/vbo_context.c')
-rw-r--r--src/mesa/vbo/vbo_context.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_context.c b/src/mesa/vbo/vbo_context.c
index ed1b6508cdc..3d3f838c4f5 100644
--- a/src/mesa/vbo/vbo_context.c
+++ b/src/mesa/vbo/vbo_context.c
@@ -28,6 +28,7 @@
#include "main/mtypes.h"
#include "main/bufferobj.h"
#include "math/m_eval.h"
+#include "main/vtxfmt.h"
#include "vbo.h"
#include "vbo_context.h"
@@ -181,6 +182,15 @@ vbo_draw_indirect_prims(struct gl_context *ctx,
}
+void
+_vbo_install_exec_vtxfmt(struct gl_context *ctx)
+{
+ struct vbo_context *vbo = vbo_context(ctx);
+
+ _mesa_install_exec_vtxfmt(ctx, &vbo->exec.vtxfmt);
+}
+
+
GLboolean
_vbo_CreateContext(struct gl_context *ctx)
{