swrast: fix depth/stencil blits when there's no colorbuffer

NOTE: This is a candidate for the 7.10 and 7.11 branches.
This commit is contained in:
Marek Olšák 2011-07-10 20:03:05 +02:00
parent 83478e5d59
commit d1214cca08

View file

@ -568,9 +568,6 @@ _swrast_BlitFramebuffer(struct gl_context *ctx,
};
GLint i;
if (!ctx->DrawBuffer->_NumColorDrawBuffers)
return;
if (!_mesa_clip_blit(ctx, &srcX0, &srcY0, &srcX1, &srcY1,
&dstX0, &dstY0, &dstX1, &dstY1)) {
return;