aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/i965/brw_wm_sampler_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_wm_sampler_state.c b/src/gallium/drivers/i965/brw_wm_sampler_state.c
index d9f17ac305f..a8bc31c9cef 100644
--- a/src/gallium/drivers/i965/brw_wm_sampler_state.c
+++ b/src/gallium/drivers/i965/brw_wm_sampler_state.c
@@ -131,7 +131,7 @@ brw_wm_sampler_update_default_colors(struct brw_context *brw)
const struct brw_sampler *sampler = brw->curr.sampler[i];
const float *bc;
- if (util_is_depth_or_stencil(tex->base.format)) {
+ if (util_format_is_depth_or_stencil(tex->base.format)) {
float bordercolor[4] = {
sampler->border_color[0],
sampler->border_color[0],