summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_blit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_blit.c')
-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);
}