From 5c7e3a90edf81000b8295ad9bb1029b8a24c6007 Mon Sep 17 00:00:00 2001 From: Mathias Fröhlich Date: Sun, 13 May 2018 09:18:57 +0200 Subject: mesa: Remove flush_vertices argument from VAO methods. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The flush_vertices argument is now unused, remove it. Reviewed-by: Brian Paul Signed-off-by: Mathias Fröhlich --- src/mesa/state_tracker/st_cb_rasterpos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/state_tracker') diff --git a/src/mesa/state_tracker/st_cb_rasterpos.c b/src/mesa/state_tracker/st_cb_rasterpos.c index cf4718f8cb6..13cc9a7f320 100644 --- a/src/mesa/state_tracker/st_cb_rasterpos.c +++ b/src/mesa/state_tracker/st_cb_rasterpos.c @@ -197,10 +197,10 @@ new_draw_rastpos_stage(struct gl_context *ctx, struct draw_context *draw) rs->ctx = ctx; rs->VAO = _mesa_new_vao(ctx, ~((GLuint)0)); - _mesa_vertex_attrib_binding(ctx, rs->VAO, VERT_ATTRIB_POS, 0, false); + _mesa_vertex_attrib_binding(ctx, rs->VAO, VERT_ATTRIB_POS, 0); _mesa_update_array_format(ctx, rs->VAO, VERT_ATTRIB_POS, 4, GL_FLOAT, GL_RGBA, GL_FALSE, GL_FALSE, GL_FALSE, 0); - _mesa_enable_vertex_array_attrib(ctx, rs->VAO, 0, false); + _mesa_enable_vertex_array_attrib(ctx, rs->VAO, 0); rs->prim.mode = GL_POINTS; rs->prim.indexed = 0; -- cgit v1.2.3