Clarified SDL_MostSignificantBitIndex32() documentation

Fixes https://github.com/libsdl-org/SDL/issues/15247
This commit is contained in:
Sam Lantinga
2026-03-22 17:51:56 -07:00
parent ad91384704
commit f22e088211

View File

@@ -48,8 +48,7 @@ extern __inline int _SDL_bsr_watcom(Uint32);
/**
* Get the index of the most significant (set) bit in a 32-bit number.
*
* Result is undefined when called with 0. This operation can also be stated
* as "count leading zeroes" and "log base 2".
* This operation can also be stated as "count leading zeroes" and "log base 2".
*
* Note that this is a forced-inline function in a header, and not a public
* API function available in the SDL library (which is to say, the code is