mesa/vbo: Update Comment to what is actually happening.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
This commit is contained in:
Mathias Fröhlich 2019-05-12 10:35:52 +02:00 committed by Mathias Fröhlich
parent 903ad59407
commit e634ba5116

View 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)