diff options
author | Brian Paul <brianp@vmware.com> | 2009-04-16 16:29:45 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-04-17 16:10:26 -0600 |
commit | 08ac96e55b6e4f30d75307b796a271b824ffd4ac (patch) | |
tree | 9d7a1e6385da242c5e030475685888b1ad32874e | |
parent | f8f23e33c21f41756d068b546f2aae37030b5773 (diff) |
mesa: minor tweak to error message
-rw-r--r-- | src/mesa/main/matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c index 7388276c45..39b4967a58 100644 --- a/src/mesa/main/matrix.c +++ b/src/mesa/main/matrix.c @@ -161,7 +161,7 @@ _mesa_MatrixMode( GLenum mode ) break; case GL_TEXTURE: if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { - _mesa_error(ctx, GL_INVALID_OPERATION, "glMatrixMode(invalid unit %d)", + _mesa_error(ctx, GL_INVALID_OPERATION, "glMatrixMode(invalid tex unit %d)", ctx->Texture.CurrentUnit); return; } |