mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
mesa: adjust error message when there's a missing teximage
The current message makes it seem like the zoffset is invalid. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
a6f39ec1c5
commit
c844afe94e
1 changed files with 1 additions and 2 deletions
|
|
@ -1013,8 +1013,7 @@ dimensions_error_check(struct gl_context *ctx,
|
|||
texImage = select_tex_image(texObj, target, level, zoffset);
|
||||
if (!texImage) {
|
||||
/* missing texture image */
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION,
|
||||
"%s(zoffset = %d)", caller, zoffset);
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "%s(missing image)", caller);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue