Backed out hg changeset 7f26fd1df927; docs were wrong, not the code.
This commit is contained in:
parent
546bedb836
commit
dd41037670
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@ SDL_HapticUpdateEffect(SDL_Haptic * haptic, int effect,
|
||||||
|
|
||||||
SDL_memcpy(&haptic->effects[effect].effect, data,
|
SDL_memcpy(&haptic->effects[effect].effect, data,
|
||||||
sizeof(SDL_HapticEffect));
|
sizeof(SDL_HapticEffect));
|
||||||
return effect;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue