|
@@ -3033,8 +3033,8 @@ extern "C" {
|
|
|
*
|
|
*
|
|
|
* - "0": Force a request for an OpenGL context that is _not_ sRGB-capable.
|
|
* - "0": Force a request for an OpenGL context that is _not_ sRGB-capable.
|
|
|
* - "1": Force a request for an OpenGL context that _is_ sRGB-capable.
|
|
* - "1": Force a request for an OpenGL context that _is_ sRGB-capable.
|
|
|
- * - "skip": Don't make any request for an sRGB-capable context
|
|
|
|
|
- * (don't specify the attribute at all during context creation time).
|
|
|
|
|
|
|
+ * - "skip": Don't make any request for an sRGB-capable context (don't specify
|
|
|
|
|
+ * the attribute at all during context creation time).
|
|
|
* - any other string is undefined behavior.
|
|
* - any other string is undefined behavior.
|
|
|
*
|
|
*
|
|
|
* If unset, or set to an empty string, SDL will make a request using the
|
|
* If unset, or set to an empty string, SDL will make a request using the
|
|
@@ -4848,7 +4848,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetHintBoolean(const char *name, bool defau
|
|
|
* A callback used to send notifications of hint value changes.
|
|
* A callback used to send notifications of hint value changes.
|
|
|
*
|
|
*
|
|
|
* This is called an initial time during SDL_AddHintCallback with the hint's
|
|
* This is called an initial time during SDL_AddHintCallback with the hint's
|
|
|
- * current value, and then again each time the hint's value changes.
|
|
|
|
|
|
|
+ * current value, and then again each time the hint's value changes. In the
|
|
|
|
|
+ * initial call, the current value is in both `oldValue` and `newValue`.
|
|
|
*
|
|
*
|
|
|
* \param userdata what was passed as `userdata` to SDL_AddHintCallback().
|
|
* \param userdata what was passed as `userdata` to SDL_AddHintCallback().
|
|
|
* \param name what was passed as `name` to SDL_AddHintCallback().
|
|
* \param name what was passed as `name` to SDL_AddHintCallback().
|