From: Chia-I Wu Date: Thu, 13 Jun 2013 04:57:07 +0000 (+0800) Subject: ilo: fix for util_blitter_clear() changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b65bdc61bd3d694d26ccae165b12f7d6d41327f9;p=mesa.git ilo: fix for util_blitter_clear() changes It has been broken since 17350ea979b883662573dac136cd9efb49938210. --- diff --git a/src/gallium/drivers/ilo/ilo_blit.c b/src/gallium/drivers/ilo/ilo_blit.c index 39c47735912..147dbe47938 100644 --- a/src/gallium/drivers/ilo/ilo_blit.c +++ b/src/gallium/drivers/ilo/ilo_blit.c @@ -602,10 +602,7 @@ ilo_clear(struct pipe_context *pipe, util_blitter_clear(ilo->blitter, ilo->fb.state.width, ilo->fb.state.height, - ilo->fb.state.nr_cbufs, buffers, - (ilo->fb.state.nr_cbufs) ? ilo->fb.state.cbufs[0]->format : - PIPE_FORMAT_NONE, - color, depth, stencil); + buffers, color, depth, stencil); ilo_blitter_end(ilo); }