summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-07-16 23:14:14 -0400
committerMarek Olšák <[email protected]>2018-07-19 00:58:51 -0400
commitd40188800e5784d15e45bb89c3f6b89ee0f8e79d (patch)
tree35f6cc2353638af20732293bd51cc14709f41872 /src/mesa/vbo
parent6c4652ea8ac44f7d19e43de4f0302d8ad78852a2 (diff)
vbo: fix ARB_multi_draw_indirect for the compatibility profile
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r--src/mesa/vbo/vbo_exec_array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c
index 58bba208db1..9d3e894c164 100644
--- a/src/mesa/vbo/vbo_exec_array.c
+++ b/src/mesa/vbo/vbo_exec_array.c
@@ -2081,8 +2081,6 @@ vbo_initialize_exec_dispatch(const struct gl_context *ctx,
}
if (ctx->API == API_OPENGL_CORE) {
- SET_MultiDrawArraysIndirect(exec, vbo_exec_MultiDrawArraysIndirect);
- SET_MultiDrawElementsIndirect(exec, vbo_exec_MultiDrawElementsIndirect);
SET_MultiDrawArraysIndirectCountARB(exec,
vbo_exec_MultiDrawArraysIndirectCount);
SET_MultiDrawElementsIndirectCountARB(exec,
@@ -2102,6 +2100,8 @@ vbo_initialize_exec_dispatch(const struct gl_context *ctx,
vbo_exec_DrawTransformFeedbackInstanced);
SET_DrawTransformFeedbackStreamInstanced(exec,
vbo_exec_DrawTransformFeedbackStreamInstanced);
+ SET_MultiDrawArraysIndirect(exec, vbo_exec_MultiDrawArraysIndirect);
+ SET_MultiDrawElementsIndirect(exec, vbo_exec_MultiDrawElementsIndirect);
}
}