[Mesa-dev] [PATCH 2/3] mesa: fix copy and paste errors in glBindVertexBuffers

Fredrik Höglund fredrik at kde.org
Thu Aug 14 17:30:34 PDT 2014


On Friday 15 August 2014, Timothy Arceri wrote:
> Signed-off-by: Timothy Arceri <t_arceri at yahoo.com.au>
> ---
>  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 6b43260..e01cc3a 100644
> --- a/src/mesa/main/varray.c
> +++ b/src/mesa/main/varray.c
> @@ -1574,14 +1574,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;
>        }
> 

Reviewed-by: Fredrik Höglund <fredrik at kde.org>



More information about the mesa-dev mailing list