瀏覽代碼

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 <mathias.froehlich@web.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
tags/18.2-branchpoint
Dave Airlie 7 年之前
父節點
當前提交
48e28ab961
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. 0
    1
      src/mesa/vbo/vbo_exec_draw.c

+ 0
- 1
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);


Loading…
取消
儲存