Mercurial > sdl-ios-xcode
diff src/haptic/win32/SDL_syshaptic.c @ 2578:72c4ac55f73c gsoc2008_force_feedback
Attempt to fix windows haptic port compilation errors.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Sun, 03 Aug 2008 10:20:31 +0000 |
parents | 57ea8810b5f0 |
children | 64fa227c01ce |
line wrap: on
line diff
--- a/src/haptic/win32/SDL_syshaptic.c Thu Jul 31 17:27:32 2008 +0000 +++ b/src/haptic/win32/SDL_syshaptic.c Sun Aug 03 10:20:31 2008 +0000 @@ -34,9 +34,9 @@ #define DIRECTINPUT_VERSION 0x0700 /* Need at least DirectX 7 for dwStartDelay */ #include <dinput.h> -#include <dxerr9.h> /* From DirectX SDK 9c */ +#include <dxerr.h> #ifdef _MSC_VER -# pragma comment (lib, "dxerr9.lib") +# pragma comment (lib, "dxerr.lib") #endif /* _MSC_VER */ /* an ISO hack for VisualC++ */ @@ -104,8 +104,8 @@ DI_SetError(const char *str, HRESULT err) { SDL_SetError( "Haptic: %s - %s: %s", str, - DXGetErrorString9(err), - DXGetErrorDescription9(err)); + DXGetErrorString(err), + DXGetErrorDescription(err)); }