fix link errors--dxguid *is* needed in Windows
This commit is contained in:
@@ -5,6 +5,9 @@
|
|||||||
#include "SDL_utils.h"
|
#include "SDL_utils.h"
|
||||||
|
|
||||||
#pragma comment(lib, "dinput.lib")
|
#pragma comment(lib, "dinput.lib")
|
||||||
|
#if defined(_WINDOWS)
|
||||||
|
#pragma comment(lib, "dxguid.lib")
|
||||||
|
#endif
|
||||||
LPDIRECTINPUT dinput = NULL;
|
LPDIRECTINPUT dinput = NULL;
|
||||||
|
|
||||||
static int ConvertScancodeToKey( int scancode );
|
static int ConvertScancodeToKey( int scancode );
|
||||||
|
|||||||
Reference in New Issue
Block a user