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 - SDL_RenderScissor support
Summary: SDL_RenderScissor support
Status: RESOLVED DUPLICATE of bug 1734
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 enhancement
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-10 11:28 UTC by Martin Gerhardy
Modified: 2013-03-05 08:07 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 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 ***