summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2014-08-15 07:43:13 +1000
committerTimothy Arceri <[email protected]>2014-08-19 10:19:18 +1000
commit39a920c0cb4de3964f5778700df31111f701b722 (patch)
treee8b58eb75a9ba04b9ae0ffcde83b686603053521 /src/mesa/main
parent9100c359ac17eb0699b3ce5224fd8299dfbe4350 (diff)
mesa: fix copy and paste errors in glBindVertexBuffers
Signed-off-by: Timothy Arceri <[email protected]> Reviewed-by: Fredrik Höglund <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/varray.c4
1 files changed, 2 insertions, 2 deletions
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;
}