Explorar o código

Don't force on the D3D11 debug flag

Sam Lantinga hai 1 ano
pai
achega
7271a2040b
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/render/direct3d11/SDL_render_d3d11.c

+ 0 - 1
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)) {