diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-08-29 06:03:39 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-08-29 06:16:25 +0200 |
commit | 89b2897220acfacdc431f138377fbcec9f0ea812 (patch) | |
tree | ef25c5d3201d66cfcd9586482c81f442ec190844 /src/gallium/auxiliary/gallivm/lp_bld_debug.c | |
parent | 735af3959f4a4eb5940835c5a4117a020f103414 (diff) |
util: remove util_is_pot in favor of util_is_power_of_two
The function was duplicated.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_debug.c')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.c b/src/gallium/auxiliary/gallivm/lp_bld_debug.c index 39dfc51e50..d3a5afff8c 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.c @@ -46,7 +46,7 @@ boolean lp_check_alignment(const void *ptr, unsigned alignment) { - assert(util_is_pot(alignment)); + assert(util_is_power_of_two(alignment)); return ((uintptr_t)ptr & (alignment - 1)) == 0; } |