Mac: Fix error message for haptic subsystem.
We were calling SDL_Error instead of SDL_SetError when the haptic subsystem wasn't initialized.
This commit is contained in:
parent
7316ed4a8f
commit
ca29983393
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ SDL_SYS_HapticInit(void)
|
|||
io_service_t device;
|
||||
|
||||
if (numhaptics != -1) {
|
||||
return SDL_Error("Haptic subsystem already initialized!");
|
||||
return SDL_SetError("Haptic subsystem already initialized!");
|
||||
}
|
||||
numhaptics = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue