diff options
author | Brian Paul <[email protected]> | 2009-09-19 17:26:14 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-19 17:26:14 -0600 |
commit | ed4076b5b8c5d3c024e291f42a8730b4f71226c9 (patch) | |
tree | 17fdc3200d3f999262eb6b185a7c733f238dee8b /src/mesa/drivers/common/meta.c | |
parent | 4de8e2123ebeb50db252b2bb57fb167058fa4683 (diff) |
mesa: remove redundant readbuffer check
Diffstat (limited to 'src/mesa/drivers/common/meta.c')
-rw-r--r-- | src/mesa/drivers/common/meta.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index be32ae6902e..e9b892e33f0 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -2459,11 +2459,6 @@ _mesa_meta_CopyConvolutionFilter2D(GLcontext *ctx, GLenum target, { GLfloat *buf; - if (!ctx->ReadBuffer->_ColorReadBuffer) { - /* no readbuffer - OK */ - return; - } - buf = (GLfloat *) _mesa_malloc(width * height * 4 * sizeof(GLfloat)); if (!buf) { _mesa_error(ctx, GL_OUT_OF_MEMORY, "glCopyConvolutionFilter2D"); |