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 1716

Summary: SDL_RenderScissor support
Product: SDL Reporter: Martin Gerhardy <martin.gerhardy>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2 CC: gabomdq
Version: HG 2.0   
Hardware: All   
OS: All   

Description Martin Gerhardy 2013-02-10 11:28:35 UTC
It would be really cool if we could get the glScissor functionality for all the supported renderer targets.

void SDL_RenderScissor(SDL_Rect *rect);

e.g.: on the opengl side it would end in the calls for 
glScissor and glEnable(GL_SCISSOR_TEST) resp. glDisable(GL_SCISSOR_TEST); if NULL is passed as rect.
Comment 1 Gabriel Jacobo 2013-03-05 08:07:36 UTC
Marking this as a duplicate of #1734 as the patch I uploaded there has an implementation for what you've requested.

*** This bug has been marked as a duplicate of bug 1734 ***