src/haptic/darwin/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2610 71a835ee438a
parent 2609 eec0c81ede06
child 2627 265ced2079bd
     1.1 --- a/src/haptic/darwin/SDL_syshaptic.c	Tue Aug 05 18:26:11 2008 +0000
     1.2 +++ b/src/haptic/darwin/SDL_syshaptic.c	Tue Aug 05 18:52:22 2008 +0000
     1.3 @@ -602,6 +602,7 @@
     1.4     dest->dwSize = sizeof(FFEFFECT); /* Set the structure size. */
     1.5     dest->dwSamplePeriod = 0; /* Not used by us. */
     1.6     dest->dwGain = 10000; /* Gain is set globally, not locally. */
     1.7 +   dest->dwFlags = FFEFF_OBJECTOFFSETS; /* Seems obligatory. */
     1.8  
     1.9     /* Envelope. */
    1.10     envelope = SDL_malloc( sizeof(FFENVELOPE) );