Преглед изворни кода

Fixed bug 3168 - xinput build failure with dxsdk

Ozkan Sezer

Yes, the annotations can actually be removed.  They are used only by MSVC and aren't vital.
Sam Lantinga пре 10 година
родитељ
комит
11f2a9f8c4
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      src/core/windows/SDL_xinput.h

+ 3 - 3
src/core/windows/SDL_xinput.h

@@ -146,9 +146,9 @@ typedef DWORD (WINAPI *XInputGetCapabilities_t)
 
 
 typedef DWORD (WINAPI *XInputGetBatteryInformation_t)
 typedef DWORD (WINAPI *XInputGetBatteryInformation_t)
     (
     (
-    _In_  DWORD                         dwUserIndex,
-    _In_  BYTE                          devType,
-    _Out_ XINPUT_BATTERY_INFORMATION_EX *pBatteryInformation
+    DWORD                         dwUserIndex,
+    BYTE                          devType,
+    XINPUT_BATTERY_INFORMATION_EX *pBatteryInformation
     );
     );
 
 
 extern int WIN_LoadXInputDLL(void);
 extern int WIN_LoadXInputDLL(void);