Explorar el Código

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 hace 10 años
padre
commit
11f2a9f8c4
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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);