mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
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:
parent
9100c359ac
commit
39a920c0cb
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue