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 3946 - [PATCH] Remove SDL_assert in SDL_GetGlobalMouseState.
Summary: [PATCH] Remove SDL_assert in SDL_GetGlobalMouseState.
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.7
Hardware: x86_64 Linux
: P2 minor
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-06 12:35 UTC by tomwardio
Modified: 2017-11-06 20:30 UTC (History)
1 user (show)

See Also:


Attachments
Proposed patch for removing SDL_assert when getting mouse state (385 bytes, text/plain)
2017-11-06 12:35 UTC, tomwardio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomwardio 2017-11-06 12:35:49 UTC
Created attachment 3072 [details]
Proposed patch for removing SDL_assert when getting mouse state

Remove SDL_assert when asking for mouse state. This is so that calling code doesn't need to conditionally call SDL_GetGlobalMouseState based on the platform.
Comment 1 Ryan C. Gordon 2017-11-06 20:30:12 UTC
This patch is now https://hg.libsdl.org/SDL/rev/4c8bd26f1aab, thanks!

--ryan.