SDL_render_d3d11.c: fix another bad use of SDL_FUNCTION

This commit is contained in:
Ozkan Sezer
2026-05-17 21:36:20 +03:00
parent 33e237eb67
commit cbd2917324

View File

@@ -898,7 +898,7 @@ static HRESULT D3D11_CreateSwapChain(SDL_Renderer *renderer, int w, int h)
IDXGIFactory_MakeWindowAssociation(data->dxgiFactory, hwnd, DXGI_MWA_NO_WINDOW_CHANGES);
#else
SDL_SetError(SDL_FUNCTION ", Unable to find something to attach a swap chain to");
SDL_SetError("%s, Unable to find something to attach a swap chain to", SDL_FUNCTION);
goto done;
#endif // defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_WINGDK) / else
}