projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26195c8
)
mesa: fix comments in getteximage_error_check()
author
Brian Paul
<brianp@vmware.com>
Sat, 24 Dec 2011 15:00:06 +0000
(08:00 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 24 Dec 2011 15:00:29 +0000
(08:00 -0700)
src/mesa/main/texgetimage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texgetimage.c
b/src/mesa/main/texgetimage.c
index 6ead871f63bb700170d2cfe84ed60fa7f0af1988..073238ad784616a6d4cda7c9e1fe3afa41d8d2ec 100644
(file)
--- a/
src/mesa/main/texgetimage.c
+++ b/
src/mesa/main/texgetimage.c
@@
-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;
}