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

Summary: [PATCH] Remove SDL_assert in SDL_GetGlobalMouseState.
Product: SDL Reporter: tomwardio
Component: eventsAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2 CC: icculus
Version: 2.0.7   
Hardware: x86_64   
OS: Linux   
Attachments: Proposed patch for removing SDL_assert when getting mouse state

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.