Mercurial > sdl-ios-xcode
comparison src/joystick/win32/SDL_dxjoystick.c @ 2625:9bad8efcb75e gsoc2008_force_feedback
Forgot to declare instance.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 09:55:51 +0000 |
parents | 6deba05725ac |
children | 380d926cc5a7 |
comparison
equal
deleted
inserted
replaced
2624:c6476e26a783 | 2625:9bad8efcb75e |
---|---|
96 */ | 96 */ |
97 int | 97 int |
98 SDL_SYS_JoystickInit(void) | 98 SDL_SYS_JoystickInit(void) |
99 { | 99 { |
100 HRESULT result; | 100 HRESULT result; |
101 HINSTANCE instance; | |
101 | 102 |
102 SYS_NumJoysticks = 0; | 103 SYS_NumJoysticks = 0; |
103 | 104 |
104 result = CoInitialize(NULL); | 105 result = CoInitialize(NULL); |
105 if (FAILED(result)) { | 106 if (FAILED(result)) { |