Use this function to get the index of the most significant (set) bit in a
Defined in SDL_bits.h
int SDL_MostSignificantBitIndex32(Uint32 x); SDL_FORCE_INLINE
Uint32 | x | the number to find the MSB of. |
(int) Returns the index of the most significant bit of x, or -1 if x is 0.