From: Brian Paul Date: Fri, 6 Nov 2015 02:03:39 +0000 (-0700) Subject: mesa: report enum name in glClientActiveTexture() error string X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=581111c4d67c65305dcae83789ac504deeec9da2;p=mesa.git mesa: report enum name in glClientActiveTexture() error string As we do for glActiveTexture(). Trivial. --- diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index cb147fac476..9d88554d945 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -330,7 +330,8 @@ _mesa_ClientActiveTexture(GLenum texture) return; if (texUnit >= ctx->Const.MaxTextureCoordUnits) { - _mesa_error(ctx, GL_INVALID_ENUM, "glClientActiveTexture(texture)"); + _mesa_error(ctx, GL_INVALID_ENUM, "glClientActiveTexture(texture=%s)", + _mesa_enum_to_string(texture)); return; }