summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-07-30 10:04:38 -0600
committerBrian Paul <[email protected]>2009-07-30 10:04:42 -0600
commit9c936403de1aa868de1218deb2b93344b0d8d95d (patch)
tree9bdd7457f8c17188fc6f61567b1a384b09a07ad2 /src/mesa/main/teximage.c
parent4406f79402e8f986913c20c3138d12d0af670bd4 (diff)
mesa: re-enable _mesa_source_buffer_exists() call
Somehow this code wound up inside a comment a while back.
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r--src/mesa/main/teximage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 6348ec09f79..825f5e26bff 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -1869,14 +1869,14 @@ copytexture_error_check( GLcontext *ctx, GLuint dimensions,
return GL_TRUE;
}
- /* NOTE: the format and type aren't really significant for
- * TestProxyTexImage(). Only the internalformat really matters.
if (!_mesa_source_buffer_exists(ctx, format)) {
_mesa_error(ctx, GL_INVALID_OPERATION,
"glCopyTexImage%dD(missing readbuffer)", dimensions);
return GL_TRUE;
}
+ /* NOTE: the format and type aren't really significant for
+ * TestProxyTexImage(). Only the internalformat really matters.
*/
type = GL_FLOAT;