mesa/vbo: Update Comment to what is actually happening.
authorMathias Fröhlich <mathias.froehlich@web.de>
Sun, 12 May 2019 08:35:52 +0000 (10:35 +0200)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Tue, 14 May 2019 16:09:49 +0000 (18:09 +0200)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/vbo/vbo_exec_draw.c

index 87652d6..fd55a5b 100644 (file)
@@ -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)