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 - SDL_SetRenderTarget clip rect
Summary: SDL_SetRenderTarget clip rect
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: render (show other bugs)
Version: HG 2.1
Hardware: x86_64 Windows 7
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-11 23:01 UTC by Marcel Bakker
Modified: 2016-10-01 20:29 UTC (History)
0 users

See Also:


Attachments
proposed patch (526 bytes, patch)
2015-11-11 23:01 UTC, Marcel Bakker
Details | Diff

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