From: Timothy Arceri Date: Thu, 14 Aug 2014 21:43:13 +0000 (+1000) Subject: mesa: fix copy and paste errors in glBindVertexBuffers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39a920c0cb4de3964f5778700df31111f701b722;p=mesa.git mesa: fix copy and paste errors in glBindVertexBuffers Signed-off-by: Timothy Arceri Reviewed-by: Fredrik Höglund --- diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 230fb30cb23..5d3cc2a70c6 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -1553,14 +1553,14 @@ _mesa_BindVertexBuffers(GLuint first, GLsizei count, const GLuint *buffers, */ if (offsets[i] < 0) { _mesa_error(ctx, GL_INVALID_VALUE, - "glBindVertexBuffer(offsets[%u]=%" PRId64 " < 0)", + "glBindVertexBuffers(offsets[%u]=%" PRId64 " < 0)", i, (int64_t) offsets[i]); continue; } if (strides[i] < 0) { _mesa_error(ctx, GL_INVALID_VALUE, - "glBindVertexBuffer(strides[%u]=%d < 0)", + "glBindVertexBuffers(strides[%u]=%d < 0)", i, strides[i]); continue; }