mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 20:20:24 +01:00
mesa: fix missing return value in getteximage_error_check()
This commit is contained in:
parent
d715d3f4a8
commit
076805c9c2
1 changed files with 1 additions and 1 deletions
|
|
@ -734,7 +734,7 @@ getteximage_error_check(struct gl_context *ctx, GLenum target, GLint level,
|
|||
if (!ctx->Extensions.ATI_envmap_bumpmap
|
||||
&& _mesa_is_dudv_format(format)) {
|
||||
_mesa_error(ctx, GL_INVALID_ENUM, "glGetTexImage(format)");
|
||||
return;
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
||||
err = _mesa_error_check_format_and_type(ctx, format, type);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue