mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 18:20:10 +01:00
mesa: better error message
This commit is contained in:
parent
7c8bed62e0
commit
a71edc9455
1 changed files with 2 additions and 2 deletions
|
|
@ -1268,8 +1268,8 @@ texture_error_check( GLcontext *ctx, GLenum target,
|
|||
if (_mesa_base_tex_format(ctx, internalFormat) < 0) {
|
||||
if (!isProxy) {
|
||||
_mesa_error(ctx, GL_INVALID_VALUE,
|
||||
"glTexImage%dD(internalFormat=0x%x)",
|
||||
dimensions, internalFormat);
|
||||
"glTexImage%dD(internalFormat=%s)",
|
||||
dimensions, _mesa_lookup_enum_by_nr(internalFormat));
|
||||
}
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue