summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2019-05-12 10:35:52 +0200
committerMathias Fröhlich <[email protected]>2019-05-14 18:09:49 +0200
commite634ba5116cb14f00e7cf61a12b52890b8c6a7b5 (patch)
treebe72200bbd8539bf8650b6d05220b14c41649d3f /src/mesa
parent903ad59407ac965f9fbc8c0c397cc6f09263a2b8 (diff)
mesa/vbo: Update Comment to what is actually happening.
Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/vbo/vbo_exec_draw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/vbo/vbo_exec_draw.c b/src/mesa/vbo/vbo_exec_draw.c
index 87652d659d0..fd55a5bbee6 100644
--- a/src/mesa/vbo/vbo_exec_draw.c
+++ b/src/mesa/vbo/vbo_exec_draw.c
@@ -369,9 +369,7 @@ vbo_exec_vtx_flush(struct vbo_exec_context *exec, GLboolean keepUnmapped)
if (exec->vtx.copied.nr != exec->vtx.vert_count) {
struct gl_context *ctx = exec->ctx;
- /* Before the update_state() as this may raise _NEW_VARYING_VP_INPUTS
- * from _mesa_set_varying_vp_inputs().
- */
+ /* Prepare and set the exec draws internal VAO for drawing. */
vbo_exec_bind_arrays(ctx);
if (ctx->NewState)