mesa: Fix typos in transform feedback error messages.
authorPaul Berry <stereotype441@gmail.com>
Fri, 30 Dec 2011 19:02:31 +0000 (11:02 -0800)
committerPaul Berry <stereotype441@gmail.com>
Wed, 4 Jan 2012 22:54:40 +0000 (14:54 -0800)
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/shaderapi.c
src/mesa/main/transformfeedback.c

index b71b44b705dbf134a79e904370fa9630096e97ae..52a9bd45254dee8d403dc3fe0bdc3c8f1a47f765 100644 (file)
@@ -751,7 +751,7 @@ link_program(struct gl_context *ctx, GLuint program)
           || shProg == ctx->Shader.CurrentGeometryProgram
           || shProg == ctx->Shader.CurrentFragmentProgram)) {
       _mesa_error(ctx, GL_INVALID_OPERATION,
-                  "glLinkProgram(transform feedback active");
+                  "glLinkProgram(transform feedback active)");
       return;
    }
 
index be0d0ff19a4f5cc5685dc44533e3570b2e326940..305589df75aa3b32cacee13af5f3c8d9d6216384 100644 (file)
@@ -461,7 +461,7 @@ _mesa_BindBufferRange(GLenum target, GLuint index,
 
    if ((size <= 0) || (size & 0x3)) {
       /* must be positive and multiple of four */
-      _mesa_error(ctx, GL_INVALID_VALUE, "glBindBufferRange(size%d)", (int) size);
+      _mesa_error(ctx, GL_INVALID_VALUE, "glBindBufferRange(size=%d)", (int) size);
       return;
    }