We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 987

Summary: SDL_GetRelativeMouseState(int index, int *x, int *y) conflicts with SDL 1.2 function SDL_GetRelativeMouseState(int *x, int *y)
Product: SDL Reporter: slyffx
Component: mainAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P2    
Version: HG 2.0   
Hardware: Other   
OS: Linux   

Description slyffx 2010-04-17 03:43:31 UTC
Programs which use SDL_GetRelativeMouseState(int *x, int *y) will no longer compile under SDL 1.3.  I propose a rename of SDL_GetRelativeMouseState(int index, int *x, int *y), to allow a function called SDL_GetRelativeMouseState(int *x, int *y) which uses  "SDL_Mouse *mouse = SDL_GetMouse(SDL_current_mouse)" instead of "SDL_Mouse *mouse = SDL_GetMouse(index)".
Comment 1 Sam Lantinga 2010-07-12 21:59:14 UTC
This is fixed in the latest SDL 1.3 snapshot.