mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
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:
parent
83478e5d59
commit
d1214cca08
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue