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 1844 - glScissor calls are wrong - Patch attached
Summary: glScissor calls are wrong - Patch attached
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-11 02:02 UTC by Martin Gerhardy
Modified: 2013-05-12 08:13 UTC (History)
1 user (show)

See Also:


Attachments
transform the coordinates (1.69 KB, patch)
2013-05-11 02:03 UTC, Martin Gerhardy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Gerhardy 2013-05-11 02:02:46 UTC
the coordinate system from sdl is not correctly transformed to the coordinate system of opengl. glScissor expects them to be a little bit different. Attached is a patch that fixes this.
Comment 1 Martin Gerhardy 2013-05-11 02:03:15 UTC
Created attachment 1134 [details]
transform the coordinates
Comment 2 Philipp Wiesemann 2013-05-12 08:13:55 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/d27e9ee7310f