Changed haptic test program to use announced effect type.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 02 Jun 2013 14:18:26 +0200
changeset 7263 8d69588e0269
parent 7262 3c5f6170df8e
child 7264 23a5c8f4b312
Changed haptic test program to use announced effect type.
test/testhaptic.c
--- a/test/testhaptic.c	Sun Jun 02 14:13:21 2013 +0200
+++ b/test/testhaptic.c	Sun Jun 02 14:18:26 2013 +0200
@@ -145,7 +145,7 @@
     /* Now we'll try a SAWTOOTHUP */
     if (supported & SDL_HAPTIC_SAWTOOTHUP) {
         printf("   effect %d: Sawtooth Up\n", nefx);
-        efx[nefx].type = SDL_HAPTIC_SQUARE;
+        efx[nefx].type = SDL_HAPTIC_SAWTOOTHUP;
         efx[nefx].periodic.period = 500;
         efx[nefx].periodic.magnitude = 0x5000;
         efx[nefx].periodic.length = 5000;