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 - SDL_GetRelativeMouseState(int index, int *x, int *y) conflicts with SDL 1.2 function SDL_GetRelativeMouseState(int *x, int *y)
Summary: SDL_GetRelativeMouseState(int index, int *x, int *y) conflicts with SDL 1.2 f...
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: main (show other bugs)
Version: HG 2.0
Hardware: Other Linux
: P2 major
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-17 03:43 UTC by slyffx
Modified: 2010-07-12 21:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.