remove Font.next_power_of_2()

This commit is contained in:
josh committed 2020-12-03 10:46:24 -05:00
1 parent 97e4dde563
commit 69f568cc7a
1 file changed
-12
-12
View File
@@ -48,16 +48,4 @@ class Font
{ {
Font_Free(font); Font_Free(font);
} }
uint next_power_of_2(uint n)
{
n--;
n |= n >> 1u;
n |= n >> 2u;
n |= n >> 4u;
n |= n >> 8u;
n |= n >> 16u;
n++;
return n;
}
} }