Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Using DIEFF_OBJECTOFFSETS now that seems obligatory.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Aug 5, 2008
1 parent 286a063 commit 4e2d98a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/haptic/win32/SDL_syshaptic.c
Expand Up @@ -577,6 +577,7 @@ SDL_SYS_ToDIEFFECT( SDL_Haptic * haptic, DIEFFECT * dest, SDL_HapticEffect * src
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) );
Expand Down

0 comments on commit 4e2d98a

Please sign in to comment.