SDL: video: check for "software" with SDL_HINT_FRAMEBUFFER_ACCELERATION.

From a2c57573567035be56ff1d2e446856aaf9ccd0c8 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Thu, 1 Sep 2022 10:47:24 -0400
Subject: [PATCH] video: check for "software" with
 SDL_HINT_FRAMEBUFFER_ACCELERATION.

We check for this value elsewhere but not in SDL_CreateWindowFramebuffer.
---
 src/video/SDL_video.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c
index 992a76d467d2..297d595afa07 100644
--- a/src/video/SDL_video.c
+++ b/src/video/SDL_video.c
@@ -2628,7 +2628,7 @@ SDL_CreateWindowFramebuffer(SDL_Window * window)
         /* See if the user or application wants to specifically disable the framebuffer */
         const char *hint = SDL_GetHint(SDL_HINT_FRAMEBUFFER_ACCELERATION);
         if (hint) {
-            if (*hint == '0' || SDL_strcasecmp(hint, "false") == 0) {
+            if ((*hint == '0') || (SDL_strcasecmp(hint, "false") == 0) || (SDL_strcasecmp(hint, "software") == 0)) {
                 attempt_texture_framebuffer = SDL_FALSE;
             }
         }