mesa: fix copy and paste errors in glBindVertexBuffers

Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Fredrik Höglund <fredrik@kde.org>
This commit is contained in:
Timothy Arceri 2014-08-15 07:43:13 +10:00
parent 9100c359ac
commit 39a920c0cb

View file

@ -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;
}