[1/6] mesa/vbo: Update Comment to what is actually happening.

Submitted by Mathias Fröhlich on May 12, 2019, 1:05 p.m.

Details

Message ID 6e9a4d88e1aa62b2eca6b164bc580f393adba172.1557653318.git.Mathias.Froehlich@gmx.net
State New
Headers show
Series "Update mesa state handling past VAO changes." ( rev: 1 ) in Mesa

Not browsing as part of any series.

Commit Message

Mathias Fröhlich May 12, 2019, 1:05 p.m.
From: Mathias Fröhlich <mathias.froehlich@web.de>

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
---
 src/mesa/vbo/vbo_exec_draw.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

--
2.21.0

Patch hide | download patch | download mbox

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)