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 3174

Summary: SDL_SetRenderTarget clip rect
Product: SDL Reporter: Marcel Bakker <mna.bakker>
Component: renderAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.1   
Hardware: x86_64   
OS: Windows 7   
Attachments: proposed patch

Description Marcel Bakker 2015-11-11 23:01:31 UTC
Created attachment 2297 [details]
proposed patch

In SDL_SetRenderTarget(),
i think the intended behavior was to clear the clip rect when a new target is set.
Comment 1 Sam Lantinga 2016-10-01 20:29:49 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/bf268eb0115d