From 99a026cfde70e17760ee8c6a2a7e7a3846ec421c Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 22 Mar 2026 17:51:56 -0700
Subject: [PATCH] Clarified SDL_MostSignificantBitIndex32() documentation
Fixes https://github.com/libsdl-org/SDL/issues/15247
(cherry picked from commit f22e0882111d1175c4456126efd4bec5fbd7b5c8)
---
include/SDL3/SDL_bits.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/SDL3/SDL_bits.h b/include/SDL3/SDL_bits.h
index ddb5cdbabe1ac..d3310ab15ce56 100644
--- a/include/SDL3/SDL_bits.h
+++ b/include/SDL3/SDL_bits.h
@@ -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