# HG changeset patch # User Edgar Simo # Date 1217962342 0 # Node ID 71a835ee438ab18c6e5b600f915d554633b1a8e1 # Parent eec0c81ede0653db19e0300cf749c8864871fdc3 Added FFEFF_OBJECTOFFSETS to darwin port. diff -r eec0c81ede06 -r 71a835ee438a src/haptic/darwin/SDL_syshaptic.c --- a/src/haptic/darwin/SDL_syshaptic.c Tue Aug 05 18:26:11 2008 +0000 +++ b/src/haptic/darwin/SDL_syshaptic.c Tue Aug 05 18:52:22 2008 +0000 @@ -602,6 +602,7 @@ dest->dwSize = sizeof(FFEFFECT); /* Set the structure size. */ dest->dwSamplePeriod = 0; /* Not used by us. */ dest->dwGain = 10000; /* Gain is set globally, not locally. */ + dest->dwFlags = FFEFF_OBJECTOFFSETS; /* Seems obligatory. */ /* Envelope. */ envelope = SDL_malloc( sizeof(FFENVELOPE) );