summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_clear.c
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2018-03-28 17:53:13 -0700
committerNanley Chery <nanley.g.chery@intel.com>2018-04-09 10:56:48 -0700
commit1ce7ae391e8a41b2ee4dab568cd77faa072a0fe2 (patch)
tree002e062c74ae78b7d2cb93e65fad6305f23e8b74 /src/mesa/drivers/dri/i965/brw_clear.c
parentc63bef15fc6f55ad9d5aa82076b94108f6b54236 (diff)
i965: Use the brw_context for the clear color and value setters
Do what all the other functions in the miptree API do. Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clear.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_clear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c
index 63c0b241898..487de9b8997 100644
--- a/src/mesa/drivers/dri/i965/brw_clear.c
+++ b/src/mesa/drivers/dri/i965/brw_clear.c
@@ -213,7 +213,7 @@ brw_fast_clear_depth(struct gl_context *ctx)
}
}
- intel_miptree_set_depth_clear_value(ctx, mt, clear_value);
+ intel_miptree_set_depth_clear_value(brw, mt, clear_value);
same_clear_value = false;
}