diff options
author | Brian Paul <[email protected]> | 2015-11-05 19:03:39 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-11-05 20:12:33 -0700 |
commit | 581111c4d67c65305dcae83789ac504deeec9da2 (patch) | |
tree | 84d171bca11f8c0635e182d2b8ed1f812e20534c /src/mesa/main | |
parent | 497bde6727260e7719c680dc483b10c0751a3fcd (diff) |
mesa: report enum name in glClientActiveTexture() error string
As we do for glActiveTexture(). Trivial.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/texstate.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |