Navigation Menu

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

Commit

Permalink
Attempt to fix windows haptic port compilation errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Aug 3, 2008
1 parent bc09223 commit f42e496
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/haptic/win32/SDL_syshaptic.c
Expand Up @@ -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++ */
Expand Down Expand Up @@ -104,8 +104,8 @@ static void
DI_SetError(const char *str, HRESULT err)
{
SDL_SetError( "Haptic: %s - %s: %s", str,
DXGetErrorString9(err),
DXGetErrorDescription9(err));
DXGetErrorString(err),
DXGetErrorDescription(err));
}


Expand Down

0 comments on commit f42e496

Please sign in to comment.