summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-12-24 08:00:06 -0700
committerBrian Paul <[email protected]>2011-12-24 08:00:29 -0700
commit5e6a6e49e99201abc2d6196001b457296b57427d (patch)
tree9d22ce8266e537ed716014c13fe471eb516da138 /src
parent26195c8417e710e919352ec6b4dfff83fdc178e2 (diff)
mesa: fix comments in getteximage_error_check()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/texgetimage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c
index 6ead871f63b..073238ad784 100644
--- 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;
}