SDL: Switch to using SDL_powf() instead of pow()

From 006edcab604aebcb19f382ca92816d1a49fbf498 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 24 Jan 2024 12:38:07 -0800
Subject: [PATCH] Switch to using SDL_powf() instead of pow()

---
 src/video/SDL_blit_slow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video/SDL_blit_slow.c b/src/video/SDL_blit_slow.c
index 016bd936cb14..90fbddff8af7 100644
--- a/src/video/SDL_blit_slow.c
+++ b/src/video/SDL_blit_slow.c
@@ -259,7 +259,7 @@ static float PQtoNits(float pq)
     const float oo_m2 = 1.0f / 78.84375f;
 
     float num = SDL_max(SDL_powf(pq, oo_m2) - c1, 0.0f);
-    float den = c2 - c3 * pow(pq, oo_m2);
+    float den = c2 - c3 * SDL_powf(pq, oo_m2);
 
     return 10000.0f * SDL_powf(num / den, oo_m1);
 }