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 710 - SDL fullscreen with portrait screen offset
Summary: SDL fullscreen with portrait screen offset
Status: RESOLVED WONTFIX
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: x86 Linux
: P2 blocker
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-28 10:52 UTC by cuervjos
Modified: 2009-09-28 00:38 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 cuervjos 2009-02-28 10:52:49 UTC
Running an SDL app in fullscreen having my display in portrait mode (using xrandr  -o left), the frames seems to be affected by an offset of hundreds of pixels. It looks like my frame is prerendered into a square surface which is then drawn on the display (producing then this offset). I'm using SDL 1.2 on debian lenny.
Comment 1 Sam Lantinga 2009-09-28 00:38:06 UTC
XRandR isn't supported on SDL 1.2, for a variety of reasons.

FYI, on my laptop it sets the proper video mode, albeit not in portrait mode, and then spews an X error on shutdown.

If you really want to try it, you can set the SDL_VIDEO_X11_XRANDR environment variable to 1 and see what happens. :)