diff options
author | Dave Airlie <[email protected]> | 2018-05-15 15:44:04 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-05-18 14:58:15 +1000 |
commit | 48e28ab961f54466c033b087931ee17d502821db (patch) | |
tree | 833d33220d4ff3db46f79b4f51a7e067529f7e82 /src/mesa/vbo | |
parent | c0c69bd8ddf384379863d8b4bcbc670e86984ae5 (diff) |
vbo: remove MaxVertexAttribStride assert check.
Some drivers (virgl) don't support GL4.4 or GLES3.1 yet,
so never fill in this const.
Reviewed-by: Mathias Fröhlich <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r-- | src/mesa/vbo/vbo_exec_draw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_draw.c b/src/mesa/vbo/vbo_exec_draw.c index 342fbc60705..8d74725db39 100644 --- a/src/mesa/vbo/vbo_exec_draw.c +++ b/src/mesa/vbo/vbo_exec_draw.c @@ -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); |