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 60fc7cc7283bbe28a33404dda478d8cbe3dcec2b..73b3318e9483d562a420587fb2fecc4ae0c7c027 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 103011ce5722d2af97193a915d1997a0fb4157fa..976b2686a6046047245acf7f85e9de23e14c9f26 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 {