From b65bdc61bd3d694d26ccae165b12f7d6d41327f9 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 13 Jun 2013 12:57:07 +0800 Subject: [PATCH] ilo: fix for util_blitter_clear() changes It has been broken since 17350ea979b883662573dac136cd9efb49938210. --- src/gallium/drivers/ilo/ilo_blit.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); } -- 2.30.2