Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
48e28ab961
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0
    1
      src/mesa/vbo/vbo_exec_draw.c

+ 0
- 1
src/mesa/vbo/vbo_exec_draw.c Dosyayı Görüntüle

@@ -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…
İptal
Kaydet