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 5347

Summary: DirectX HARDWARE RENDERER: SDL_RenderSetClipRect doesn't work properly when used with SDL_RenderCopy
Product: SDL Reporter: michael.r.taylor586
Component: renderAssignee: Ryan C. Gordon <icculus>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P2    
Version: 2.0.12   
Hardware: x86_64   
OS: Windows 10   
Attachments: Left == broken version, Right == correct version

Description michael.r.taylor586 2020-11-11 01:40:01 UTC
Created attachment 4512 [details]
Left == broken version, Right == correct version

When using SDL_RenderSetClipRect with SDL_RenderCopy while using DirectX, it appears that the back buffer isn't cleared. Attached an image to show side by side differences.