Commit 14216996 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

winebus: Print SDL error message when SDL cannot be initialized.

SDL_Init(SDL_INIT_HAPTIC) fails if SDL is built without haptic support. Signed-off-by: 's avatarJózef Kucia <jkucia@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 387ba1d6
......@@ -910,7 +910,7 @@ static DWORD CALLBACK deviceloop_thread(void *args)
if (pSDL_Init(SDL_INIT_GAMECONTROLLER|SDL_INIT_HAPTIC) < 0)
{
ERR("Can't Init SDL\n");
ERR("Can't init SDL: %s\n", pSDL_GetError());
return STATUS_UNSUCCESSFUL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment