mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
mesa: fix comments in getteximage_error_check()
This commit is contained in:
parent
26195c8417
commit
5e6a6e49e9
1 changed files with 2 additions and 2 deletions
|
|
@ -703,7 +703,7 @@ getteximage_error_check(struct gl_context *ctx, GLenum target, GLint level,
|
|||
}
|
||||
|
||||
if (!_mesa_is_legal_format_and_type(ctx, format, type)) {
|
||||
/*GL_INVALID_OPERATION is generated by a format/type
|
||||
/* GL_INVALID_OPERATION is generated by a format/type
|
||||
* mismatch (see the 1.2 spec page 94, sec 3.6.4.)
|
||||
*/
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetTexImage(target)");
|
||||
|
|
@ -712,7 +712,7 @@ getteximage_error_check(struct gl_context *ctx, GLenum target, GLint level,
|
|||
|
||||
texImage = _mesa_select_tex_image(ctx, texObj, target, level);
|
||||
if (!texImage) {
|
||||
/* out of memory */
|
||||
/* non-existant texture image */
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue