mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-25 14:28:34 +00:00
SDL_render_d3d11.c: fix another bad use of SDL_FUNCTION
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user