mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-05 22:30:29 +00:00
SDL_render_d3d11.c: fix another bad use of SDL_FUNCTION
(cherry picked from commit cbd2917324)
This commit is contained in:
parent
f689caed82
commit
2e8567bdeb
1 changed files with 1 additions and 1 deletions
|
|
@ -926,7 +926,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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue