remove Font.next_power_of_2()

This commit is contained in:
Josh Holtrop 2020-12-03 10:46:24 -05:00
parent 97e4dde563
commit 69f568cc7a

View File

@ -48,16 +48,4 @@ class 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;
}
}