summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-05-13 09:18:57 +0200
committerMathias Fröhlich <[email protected]>2018-05-17 20:13:39 +0200
commit5c7e3a90edf81000b8295ad9bb1029b8a24c6007 (patch)
tree3ac0906de09da51c344f5e54a9eb9228948ff0f0 /src/mesa/state_tracker
parent9c7be67968aaba224d518dee86dff736a4b599c6 (diff)
mesa: Remove flush_vertices argument from VAO methods.
The flush_vertices argument is now unused, remove it. Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_rasterpos.c4
1 files changed, 2 insertions, 2 deletions
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;