summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/matrix.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-16 16:29:45 -0600
committerBrian Paul <[email protected]>2009-04-17 16:10:26 -0600
commit08ac96e55b6e4f30d75307b796a271b824ffd4ac (patch)
tree9d7a1e6385da242c5e030475685888b1ad32874e /src/mesa/main/matrix.c
parentf8f23e33c21f41756d068b546f2aae37030b5773 (diff)
mesa: minor tweak to error message
Diffstat (limited to 'src/mesa/main/matrix.c')
-rw-r--r--src/mesa/main/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c
index 7388276c458..39b4967a58e 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;
}