Skip to content
Snippets Groups Projects
Commit d1214cca authored by Marek Olšák's avatar Marek Olšák
Browse files

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

NOTE: This is a candidate for the 7.10 and 7.11 branches.
parent 83478e5d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment