Răsfoiți Sursa

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 9 ani în urmă
părinte
comite
11f2a9f8c4
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  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)
     (
-    _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);