summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_performance_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_performance_query.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_performance_query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_performance_query.c b/src/mesa/drivers/dri/i965/brw_performance_query.c
index 655dd7ccc18..43bd4d6711e 100644
--- a/src/mesa/drivers/dri/i965/brw_performance_query.c
+++ b/src/mesa/drivers/dri/i965/brw_performance_query.c
@@ -249,7 +249,7 @@ brw_begin_perf_query(struct gl_context *ctx,
bool ret = intel_perf_begin_query(perf_ctx, obj);
- if (INTEL_DEBUG & DEBUG_PERFMON)
+ if (INTEL_DEBUG(DEBUG_PERFMON))
dump_perf_queries(brw);
return ret;
@@ -315,7 +315,7 @@ brw_get_perf_query_data(struct gl_context *ctx,
DBG("GetData(%d)\n", o->Id);
- if (INTEL_DEBUG & DEBUG_PERFMON)
+ if (INTEL_DEBUG(DEBUG_PERFMON))
dump_perf_queries(brw);
/* We expect that the frontend only calls this hook when it knows