Some drivers (virgl) don't support GL4.4 or GLES3.1 yet, so never fill in this const. Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de> Signed-off-by: Dave Airlie <airlied@redhat.com>tags/18.2-branchpoint
@@ -201,7 +201,6 @@ vbo_exec_bind_arrays(struct gl_context *ctx) | |||
/* Bind the buffer object */ | |||
const GLuint stride = exec->vtx.vertex_size*sizeof(GLfloat); | |||
assert(stride <= ctx->Const.MaxVertexAttribStride); | |||
_mesa_bind_vertex_buffer(ctx, vao, 0, exec->vtx.bufferobj, buffer_offset, | |||
stride); | |||