summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_clear.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/util/u_clear.h')
-rw-r--r--src/gallium/auxiliary/util/u_clear.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_clear.h b/src/gallium/auxiliary/util/u_clear.h
index 864d1302b4f..64135304ed5 100644
--- a/src/gallium/auxiliary/util/u_clear.h
+++ b/src/gallium/auxiliary/util/u_clear.h
@@ -49,7 +49,8 @@ util_clear(struct pipe_context *pipe,
struct pipe_surface *ps = framebuffer->cbufs[i];
if (ps) {
- pipe->clear_render_target(pipe, ps, color, 0, 0, ps->width, ps->height);
+ pipe->clear_render_target(pipe, ps, color, 0, 0, ps->width,
+ ps->height, true);
}
}
}
@@ -58,6 +59,6 @@ util_clear(struct pipe_context *pipe,
struct pipe_surface *ps = framebuffer->zsbuf;
pipe->clear_depth_stencil(pipe, ps, buffers & PIPE_CLEAR_DEPTHSTENCIL,
depth, stencil,
- 0, 0, ps->width, ps->height);
+ 0, 0, ps->width, ps->height, true);
}
}