# HG changeset patch # User Edgar Simo # Date 1217935281 0 # Node ID d1140f0ebedfa4ae51eb72cd4a0acd1f2ed3c3f2 # Parent e9641d2250e56152c01d09811c3715b4263da718 Using DIEFF_OBJECTOFFSETS now that seems obligatory. diff -r e9641d2250e5 -r d1140f0ebedf src/haptic/win32/SDL_syshaptic.c --- a/src/haptic/win32/SDL_syshaptic.c Tue Aug 05 11:14:16 2008 +0000 +++ b/src/haptic/win32/SDL_syshaptic.c Tue Aug 05 11:21:21 2008 +0000 @@ -577,6 +577,7 @@ dest->dwSize = sizeof(DIEFFECT); /* Set the structure size. */ dest->dwSamplePeriod = 0; /* Not used by us. */ dest->dwGain = 10000; /* Gain is set globally, not locally. */ + dest->dwFlags = DIEFF_OBJECTOFFSETS; /* Seems obligatory. */ /* Envelope. */ envelope = SDL_malloc( sizeof(DIENVELOPE) );