SDL: Don't force on the D3D11 debug flag

From 7271a2040b6bfec261bf1160422d7cc2f9e7c2cc Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 3 Feb 2024 12:35:01 -0800
Subject: [PATCH] Don't force on the D3D11 debug flag

---
 src/render/direct3d11/SDL_render_d3d11.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/render/direct3d11/SDL_render_d3d11.c b/src/render/direct3d11/SDL_render_d3d11.c
index f1c9c0d67a1d..51b5293df229 100644
--- a/src/render/direct3d11/SDL_render_d3d11.c
+++ b/src/render/direct3d11/SDL_render_d3d11.c
@@ -524,7 +524,6 @@ static HRESULT D3D11_CreateDeviceResources(SDL_Renderer *renderer)
     if (SDL_GetHintBoolean(SDL_HINT_RENDER_DIRECT3D11_DEBUG, SDL_FALSE)) {
         creationFlags |= D3D11_CREATE_DEVICE_DEBUG;
     }
-        creationFlags |= D3D11_CREATE_DEVICE_DEBUG;
 
     /* Create a single-threaded device unless the app requests otherwise. */
     if (!SDL_GetHintBoolean(SDL_HINT_RENDER_DIRECT3D_THREADSAFE, SDL_FALSE)) {