From 0f02c41ac0ec940baa5badc8dfc71db9f963c693 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 21 Feb 2026 10:49:57 -0800
Subject: [PATCH] Note that SDL_getenv() is case sensitive
Fixes https://github.com/libsdl-org/SDL/issues/15086
(cherry picked from commit 21e10b2e76184b78fd024fc21e3a994a77729c03)
---
include/SDL3/SDL_stdinc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/SDL3/SDL_stdinc.h b/include/SDL3/SDL_stdinc.h
index 1c4d8da63ad3e..d2bcb157fdd3e 100644
--- a/include/SDL3/SDL_stdinc.h
+++ b/include/SDL3/SDL_stdinc.h
@@ -1796,6 +1796,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_DestroyEnvironment(SDL_Environment *env);
/**
* Get the value of a variable in the environment.
*
+ * The name of the variable is case sensitive on all platforms.
+ *
* This function uses SDL's cached copy of the environment and is thread-safe.
*
* \param name the name of the variable to get.