OSDN Git Service

mesa: Fix typos in print messages
authorAndreas Boll <andreas.boll.dev@gmail.com>
Wed, 9 Dec 2015 16:10:33 +0000 (17:10 +0100)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Wed, 9 Dec 2015 17:29:11 +0000 (18:29 +0100)
s/inconsistant/inconsistent/
s/occurences/occurrences/

Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/teximage.c
src/mesa/main/transformfeedback.c

index 60fc7cc..73b3318 100644 (file)
@@ -2028,7 +2028,7 @@ compressed_texture_error_check(struct gl_context *ctx, GLint dimensions,
        * if <imageSize> is not consistent with the format, dimensions, and
        * contents of the specified image.
        */
-      reason = "imageSize inconsistant with width/height/format";
+      reason = "imageSize inconsistent with width/height/format";
       error = GL_INVALID_VALUE;
       goto error;
    }
index 103011c..976b268 100644 (file)
@@ -861,7 +861,7 @@ _mesa_TransformFeedbackVaryings(GLuint program, GLsizei count,
          if (buffers > ctx->Const.MaxTransformFeedbackBuffers) {
             _mesa_error(ctx, GL_INVALID_OPERATION,
                         "glTransformFeedbackVaryings(too many gl_NextBuffer "
-                        "occurences)");
+                        "occurrences)");
             return;
          }
       } else {