diff options
author | Jacques Lucke <mail@jlucke.com> | 2020-02-10 18:23:14 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2020-02-10 18:23:14 +0300 |
commit | b4bf6b9cc9705c2cb8f32e5a9986bf769e4158eb (patch) | |
tree | c83303a9a2131aeeab34755d29a6d8af967b2dab /source/blender/blenlib/intern/math_base_inline.c | |
parent | 2d368366166f1be74920e99b4e771df243b852df (diff) |
remove pad_up function
Diffstat (limited to 'source/blender/blenlib/intern/math_base_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_base_inline.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenlib/intern/math_base_inline.c b/source/blender/blenlib/intern/math_base_inline.c index 46c0550e42f..e2484c294b1 100644 --- a/source/blender/blenlib/intern/math_base_inline.c +++ b/source/blender/blenlib/intern/math_base_inline.c @@ -249,11 +249,6 @@ MINLINE unsigned int log2_ceil_u(unsigned int x) } } -MINLINE unsigned int pad_up(unsigned int x, unsigned int alignment) -{ - BLI_assert(is_power_of_2_i((int)alignment)); - return (x + alignment - 1) & ~(alignment - 1); -} /* rounding and clamping */ |