summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-06-13 12:57:07 +0800
committerChia-I Wu <[email protected]>2013-06-13 12:58:47 +0800
commitb65bdc61bd3d694d26ccae165b12f7d6d41327f9 (patch)
tree83168bc445cbb7efa599496293a264cfdb737575 /src/gallium/drivers/ilo
parentbf2c074a2fb122bafbbe0f3c7978b89685f2698b (diff)
ilo: fix for util_blitter_clear() changes
It has been broken since 17350ea979b883662573dac136cd9efb49938210.
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r--src/gallium/drivers/ilo/ilo_blit.c5
1 files changed, 1 insertions, 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);
}