SDL: Removed maxCLL and maxFALL properties, moved them to SDL_image for HDR image loading

From 25fd5da1a75f6936c244e21cf43abf8e28265d41 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 2 Feb 2024 15:09:43 -0800
Subject: [PATCH] Removed maxCLL and maxFALL properties, moved them to
 SDL_image for HDR image loading

---
 include/SDL3/SDL_surface.h | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/include/SDL3/SDL_surface.h b/include/SDL3/SDL_surface.h
index a3822d2763c1..f4c647395d60 100644
--- a/include/SDL3/SDL_surface.h
+++ b/include/SDL3/SDL_surface.h
@@ -221,17 +221,6 @@ extern DECLSPEC void SDLCALL SDL_DestroySurface(SDL_Surface *surface);
  *   point formats, SDL_COLORSPACE_HDR10 for 10-bit formats,
  *   SDL_COLORSPACE_SRGB for other RGB surfaces and SDL_COLORSPACE_BT709_FULL
  *   for YUV textures.
- * - `SDL_PROP_SURFACE_MAXCLL_NUMBER`: MaxCLL (Maximum Content Light Level)
- *   indicates the maximum light level of any single pixel (in cd/m2 or nits)
- *   of the entire playback sequence. MaxCLL is usually measured off the final
- *   delivered content after mastering. If one uses the full light level of
- *   the HDR mastering display and adds a hard clip at its maximum value,
- *   MaxCLL would be equal to the peak luminance of the mastering monitor.
- * - `SDL_PROP_SURFACE_MAXFALL_NUMBER`: MaxFALL (Maximum Frame Average Light
- *   Level) indicates the maximum value of the frame average light level (in
- *   cd/m2 or nits) of the entire playback sequence. MaxFALL is calculated by
- *   averaging the decoded luminance values of all the pixels within a frame.
- *   MaxFALL is usually much lower than MaxCLL.
  * - `SDL_PROP_SURFACE_TONEMAP_OPERATOR_STRING`: the tone mapping operator
  *   used when converting between different colorspaces. Currently this
  *   supports the form "*=N", where N is a floating point scale factor applied
@@ -249,8 +238,6 @@ extern DECLSPEC void SDLCALL SDL_DestroySurface(SDL_Surface *surface);
 extern DECLSPEC SDL_PropertiesID SDLCALL SDL_GetSurfaceProperties(SDL_Surface *surface);
 
 #define SDL_PROP_SURFACE_COLORSPACE_NUMBER                  "SDL.surface.colorspace"
-#define SDL_PROP_SURFACE_MAXCLL_NUMBER                      "SDL.surface.maxCLL"
-#define SDL_PROP_SURFACE_MAXFALL_NUMBER                     "SDL.surface.maxFALL"
 #define SDL_PROP_SURFACE_TONEMAP_OPERATOR_STRING            "SDL.surface.tonemap"
 
 /**