mesa: fix copy and paste errors in glBindVertexBuffers
authorTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 14 Aug 2014 21:43:13 +0000 (07:43 +1000)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Tue, 19 Aug 2014 00:19:18 +0000 (10:19 +1000)
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Fredrik Höglund <fredrik@kde.org>
src/mesa/main/varray.c

index 230fb30cb23ca06ca33b752ded783f33aef0107b..5d3cc2a70c6052b1ecb2657fdaaca7b3400b49d2 100644 (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;
       }