From: Brian Paul Date: Thu, 16 Apr 2009 22:29:45 +0000 (-0600) Subject: mesa: minor tweak to error message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08ac96e55b6e4f30d75307b796a271b824ffd4ac;p=mesa.git mesa: minor tweak to error message --- 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; }