SDL: Workaround for crash at shutdown in testffmpeg

From 9755e490c039f25338cf8f132e1fa1f69e663e4b Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 4 Feb 2024 22:53:25 -0800
Subject: [PATCH] Workaround for crash at shutdown in testffmpeg

I'm not sure if this is something in SDL crashing or something in ffmpeg, but it's safer to leave the D3D DLLs loaded.
---
 src/render/direct3d11/SDL_render_d3d11.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/render/direct3d11/SDL_render_d3d11.c b/src/render/direct3d11/SDL_render_d3d11.c
index e5b6aa45236a..955d71188474 100644
--- a/src/render/direct3d11/SDL_render_d3d11.c
+++ b/src/render/direct3d11/SDL_render_d3d11.c
@@ -355,11 +355,11 @@ static void D3D11_ReleaseAll(SDL_Renderer *renderer)
          * to prevent IUnknown::Release() calls from crashing.
          */
         if (data->hD3D11Mod) {
-            SDL_UnloadObject(data->hD3D11Mod);
+            //SDL_UnloadObject(data->hD3D11Mod);
             data->hD3D11Mod = NULL;
         }
         if (data->hDXGIMod) {
-            SDL_UnloadObject(data->hDXGIMod);
+            //SDL_UnloadObject(data->hDXGIMod);
             data->hDXGIMod = NULL;
         }
     }