diff options
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index ccfc306cac6..7ae3f6fc28a 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -305,9 +305,8 @@ brw_predraw_resolve_buffers(struct brw_context *brw) /* Resolve the depth buffer's HiZ buffer. */ depth_irb = intel_get_renderbuffer(ctx->DrawBuffer, BUFFER_DEPTH); - if (depth_irb && depth_irb->mt) { + if (depth_irb) intel_renderbuffer_resolve_hiz(intel, depth_irb); - } /* Resolve depth buffer of each enabled depth texture. */ for (int i = 0; i < BRW_MAX_TEX_UNIT; i++) { |