Browse Source

Haptics aren't available on iOS, but use the dummy implementation instead of failing init if it's requested.

Sam Lantinga 10 years ago
parent
commit
2eb7563e35
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/SDL_config_iphoneos.h

+ 1 - 1
include/SDL_config_iphoneos.h

@@ -113,7 +113,7 @@
 #define SDL_AUDIO_DRIVER_DUMMY  1
 
 /* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
-#define SDL_HAPTIC_DISABLED 1
+#define SDL_HAPTIC_DUMMY 1
 
 /* Enable Unix style SO loading */
 /* Technically this works, but it violates the iPhone developer agreement */