ilo: fix for util_blitter_clear() changes
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 39c47735912b4acfd5df85b6e8812e942a8507b6..147dbe479385fc2bede620bcd5e48fb18ad8ac2e 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);
 }