ilo: fix for util_blitter_clear() changes 05/7005/1
authorChia-I Wu <olvaffe@gmail.com>
Thu, 13 Jun 2013 04:57:07 +0000 (12:57 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 13 Jun 2013 04:58:47 +0000 (12:58 +0800)
It has been broken since 17350ea979b883662573dac136cd9efb49938210.

src/gallium/drivers/ilo/ilo_blit.c

index 39c4773..147dbe4 100644 (file)
@@ -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);
 }