SDL: Additions to progress bar comments

From fa0a86409c67d580598654582f6ff4c874f00810 Mon Sep 17 00:00:00 2001
From: Petar Popovic <[EMAIL REDACTED]>
Date: Sun, 23 Mar 2025 16:32:41 +0100
Subject: [PATCH] Additions to progress bar comments

---
 include/SDL3/SDL_video.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/SDL3/SDL_video.h b/include/SDL3/SDL_video.h
index 2ee80389c973e..36f83818b5c13 100644
--- a/include/SDL3/SDL_video.h
+++ b/include/SDL3/SDL_video.h
@@ -2825,6 +2825,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_FlashWindow(SDL_Window *window, SDL_FlashOp
  *
  * \param window the window whose progress state is to be modified.
  * \param state the progress state.
+ *              `SDL_PROGRESS_STATE_NONE` stops displaying the progress bar.
  * \returns true on success or false on failure; call SDL_GetError() for more
  *          information.
  *
@@ -2837,8 +2838,12 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetWindowProgressState(SDL_Window *window,
 /**
  * Sets the value of the progress bar for the given window’s taskbar icon.
  *
+ * If the state is `SDL_PROGRESS_STATE_NONE` or `SDL_PROGRESS_STATE_INDETERMINATE`,
+ * it gets changed to `SDL_PROGRESS_STATE_NORMAL`.
+ *
  * \param window the window whose progress value is to be modified.
  * \param value the progress value (0.0f - start, 1.0f - end).
+ *              If the value is outside the valid range, it gets clamped.
  * \returns true on success or false on failure; call SDL_GetError() for more
  *          information.
  *