aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_feedback.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-05-08 02:08:17 +0200
committerMarek Olšák <[email protected]>2017-05-10 19:29:08 +0200
commitf60f14bdb3ecb3327b964f74de794c4d04ab194e (patch)
tree3449a713a3c5314f38114d7d90e19367bf5d957d /src/mesa/state_tracker/st_cb_feedback.c
parent740ef228f735724f9d223e8160533c702337393e (diff)
st/mesa: make st_draw_vbo static
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_feedback.c')
-rw-r--r--src/mesa/state_tracker/st_cb_feedback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_feedback.c b/src/mesa/state_tracker/st_cb_feedback.c
index 2ca2defc0f1..436062b1f85 100644
--- a/src/mesa/state_tracker/st_cb_feedback.c
+++ b/src/mesa/state_tracker/st_cb_feedback.c
@@ -282,7 +282,7 @@ st_RenderMode(struct gl_context *ctx, GLenum newMode )
if (newMode == GL_RENDER) {
/* restore normal VBO draw function */
- vbo_set_draw_func(ctx, st_draw_vbo);
+ st_init_draw(st);
}
else if (newMode == GL_SELECT) {
if (!st->selection_stage)