Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <mail@jlucke.com>2020-02-10 18:23:14 +0300
committerJacques Lucke <mail@jlucke.com>2020-02-10 18:23:14 +0300
commitb4bf6b9cc9705c2cb8f32e5a9986bf769e4158eb (patch)
treec83303a9a2131aeeab34755d29a6d8af967b2dab /source/blender/blenlib/intern/math_base_inline.c
parent2d368366166f1be74920e99b4e771df243b852df (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.c5
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 */