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 1789

Summary: SDL_IntersectRect: intersection with empty rect doesn't set result to empty.
Product: SDL Reporter: stepik-777
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: trivial    
Priority: P2 CC: aschiffler
Version: 2.0.0   
Hardware: All   
OS: All   

Description stepik-777 2013-04-05 14:39:43 UTC
This also affects SDL_SetClipRect. Calling SDL_SetClipRect with empty rect doesn't set clip_rect to empty.
Comment 1 Andreas Schiffler 2013-04-17 11:12:18 UTC
Fixed with
http://hg.libsdl.org/SDL/rev/0545811b3543