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 - SDL_IntersectRect: intersection with empty rect doesn't set result to empty.
Summary: SDL_IntersectRect: intersection with empty rect doesn't set result to empty.
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.0
Hardware: All All
: P2 trivial
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-05 14:39 UTC by stepik-777
Modified: 2013-04-17 11:12 UTC (History)
1 user (show)

See Also:


Attachments

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