SDL_image: Use the default tonemap operator built into SDL

From 267b0f3bd8cffa19b68f16e82b573cf7756227c9 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 21 Feb 2024 09:43:17 -0800
Subject: [PATCH] Use the default tonemap operator built into SDL

---
 src/IMG_avif.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/IMG_avif.c b/src/IMG_avif.c
index 331842b4..3a150375 100644
--- a/src/IMG_avif.c
+++ b/src/IMG_avif.c
@@ -445,10 +445,6 @@ SDL_Surface *IMG_LoadAVIF_RW(SDL_RWops *src)
                 SDL_SetNumberProperty(props, SDL_PROP_SURFACE_MAXCLL_NUMBER, image->clli.maxCLL);
                 SDL_SetNumberProperty(props, SDL_PROP_SURFACE_MAXFALL_NUMBER, image->clli.maxPALL);
             }
-
-            // A good approximation to compress HDR content to SDR
-            // More complex tone mapping algorithms can be added and set by the caller in the future.
-            SDL_SetStringProperty(props, SDL_PROP_SURFACE_TONEMAP_OPERATOR_STRING, "*=0.2");
         }
     }