summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-19 17:26:14 -0600
committerBrian Paul <brianp@vmware.com>2009-09-19 17:26:14 -0600
commited4076b5b8c5d3c024e291f42a8730b4f71226c9 (patch)
tree17fdc3200d3f999262eb6b185a7c733f238dee8b /src/mesa
parent4de8e2123ebeb50db252b2bb57fb167058fa4683 (diff)
mesa: remove redundant readbuffer check
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/common/meta.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index be32ae6902..e9b892e33f 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");