Mesa (master): mesa: fix copy and paste errors in glBindVertexBuffers

Timothy Arceri tarceri at kemper.freedesktop.org
Tue Aug 19 00:19:37 UTC 2014


Module: Mesa
Branch: master
Commit: 39a920c0cb4de3964f5778700df31111f701b722
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=39a920c0cb4de3964f5778700df31111f701b722

Author: Timothy Arceri <t_arceri at yahoo.com.au>
Date:   Fri Aug 15 07:43:13 2014 +1000

mesa: fix copy and paste errors in glBindVertexBuffers

Signed-off-by: Timothy Arceri <t_arceri at yahoo.com.au>
Reviewed-by: Fredrik Höglund <fredrik at kde.org>

---

 src/mesa/main/varray.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index 230fb30..5d3cc2a 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;
       }




More information about the mesa-commit mailing list