summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/brw_clear.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c
index 331635148f6..604a68037bb 100644
--- a/src/mesa/drivers/dri/i965/brw_clear.c
+++ b/src/mesa/drivers/dri/i965/brw_clear.c
@@ -188,10 +188,7 @@ intelClear(struct gl_context *ctx, GLbitfield mask)
if (tri_mask) {
debug_mask("tri", tri_mask);
- if (ctx->Extensions.ARB_fragment_shader)
- _mesa_meta_glsl_Clear(&intel->ctx, tri_mask);
- else
- _mesa_meta_Clear(&intel->ctx, tri_mask);
+ _mesa_meta_glsl_Clear(&intel->ctx, tri_mask);
}
}