Mesa (master): i915: Fix build error.
Kenneth Graunke
kwg at kemper.freedesktop.org
Tue Apr 8 07:30:32 UTC 2014
Module: Mesa
Branch: master
Commit: dff3439fef8690192bcc40108729da711fcf706b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dff3439fef8690192bcc40108729da711fcf706b
Author: Iago Toral Quiroga <itoral at igalia.com>
Date: Tue Apr 8 09:27:18 2014 +0200
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 <kenneth at whitecape.org>
---
src/mesa/drivers/dri/i915/intel_context.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/mesa/drivers/dri/i915/intel_context.h b/src/mesa/drivers/dri/i915/intel_context.h
index 94960f6..fccf821 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
More information about the mesa-commit
mailing list