diff options
author | Marek Olšák <[email protected]> | 2011-07-10 20:03:05 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-07-10 21:47:20 +0200 |
commit | d1214cca084f277b5acc913490d354edbd4b990f (patch) | |
tree | bc743c587e51a44596f66fe5e7938aaae71e416b /src/mesa/swrast/s_blit.c | |
parent | 83478e5d5944e1fc320e8cfb10ba75055bbea3fd (diff) |
swrast: fix depth/stencil blits when there's no colorbuffer
NOTE: This is a candidate for the 7.10 and 7.11 branches.
Diffstat (limited to 'src/mesa/swrast/s_blit.c')
-rw-r--r-- | src/mesa/swrast/s_blit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_blit.c b/src/mesa/swrast/s_blit.c index 3516a41bf41..7f53f19eb62 100644 --- a/src/mesa/swrast/s_blit.c +++ b/src/mesa/swrast/s_blit.c @@ -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; |