mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-08 17:04:24 +02:00
Replaced SDL_GetJoystickCaps() with joystick properties
Fixes https://github.com/libsdl-org/SDL/issues/8927
This commit is contained in:
@@ -959,8 +959,6 @@ SDL3_0.0.0 {
|
||||
SDL_GetHapticName;
|
||||
SDL_ReadSurfacePixel;
|
||||
SDL_FlipSurface;
|
||||
SDL_GetGamepadCaps;
|
||||
SDL_GetJoystickCaps;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
||||
@@ -984,5 +984,3 @@
|
||||
#define SDL_GetHapticName SDL_GetHapticName_REAL
|
||||
#define SDL_ReadSurfacePixel SDL_ReadSurfacePixel_REAL
|
||||
#define SDL_FlipSurface SDL_FlipSurface_REAL
|
||||
#define SDL_GetGamepadCaps SDL_GetGamepadCaps_REAL
|
||||
#define SDL_GetJoystickCaps SDL_GetJoystickCaps_REAL
|
||||
|
||||
@@ -1009,5 +1009,3 @@ SDL_DYNAPI_PROC(SDL_HapticID,SDL_GetHapticInstanceID,(SDL_Haptic *a),(a),return)
|
||||
SDL_DYNAPI_PROC(const char*,SDL_GetHapticName,(SDL_Haptic *a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_ReadSurfacePixel,(SDL_Surface *a, int b, int c, Uint8 *d, Uint8 *e, Uint8 *f, Uint8 *g),(a,b,c,d,e,f,g),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_FlipSurface,(SDL_Surface *a, SDL_FlipMode b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(Uint32,SDL_GetGamepadCaps,(SDL_Gamepad *a),(a),return)
|
||||
SDL_DYNAPI_PROC(Uint32,SDL_GetJoystickCaps,(SDL_Joystick *a),(a),return)
|
||||
|
||||
Reference in New Issue
Block a user