mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 16:48:07 +02:00
mesa: report enum name in glClientActiveTexture() error string
As we do for glActiveTexture(). Trivial.
This commit is contained in:
parent
497bde6727
commit
581111c4d6
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue