mesa: re-enable _mesa_source_buffer_exists() call

Somehow this code wound up inside a comment a while back.
This commit is contained in:
Brian Paul 2009-07-30 10:04:38 -06:00
parent 4406f79402
commit 9c936403de
1 changed files with 2 additions and 2 deletions

View File

@ -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;