aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2014-04-08 09:27:18 +0200
committerKenneth Graunke <[email protected]>2014-04-08 00:29:59 -0700
commitdff3439fef8690192bcc40108729da711fcf706b (patch)
tree401fff106a8fd228e9399e6982a7f056c02d8b47 /src/mesa
parent73f80c20f68cd30421c13da29d7d7801ed096101 (diff)
i915: Fix build error.
is_power_of_two() is now provided by mesa so its definition must be removed from the i915 driver code. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.h b/src/mesa/drivers/dri/i915/intel_context.h
index 94960f6bc23..fccf821993d 100644
--- a/src/mesa/drivers/dri/i915/intel_context.h
+++ b/src/mesa/drivers/dri/i915/intel_context.h
@@ -504,12 +504,6 @@ intel_context(struct gl_context * ctx)
return (struct intel_context *) ctx;
}
-static INLINE bool
-is_power_of_two(uint32_t value)
-{
- return (value & (value - 1)) == 0;
-}
-
#ifdef __cplusplus
}
#endif