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@whitecape.org>
This commit is contained in:
committed by
Kenneth Graunke
parent
73f80c20f6
commit
dff3439fef
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user