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 693 - Full screen modes do not change actual display resolution
Summary: Full screen modes do not change actual display resolution
Status: RESOLVED DUPLICATE of bug 702
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86 Linux
: P2 blocker
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-05 08:54 UTC by Dmitri Vedenko
Modified: 2009-10-10 12:42 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 Dmitri Vedenko 2009-02-05 08:54:13 UTC
I'm using revision 4415 of SDL 1.3 with OpenGL. When I try to create a fullscreen window with resolution less (but compatible with hardware) then current resolution of X Server the actual display resolution stays unchanged. The window is created without borders/title bar and located somewhere in the middle of the screen.

BTW, in version 1.3.0 creating a fullscreen window results in SDL error. SDL_GetError reports failure of creating surface with absolutely strange values for width and height
Comment 1 Sami Näätänen 2009-02-17 02:01:42 UTC
I think this is due to the bug #702.
So could you test the patch in that.
I assume your X server has XRANDR extension support as it's quite a standard nowadays.
Comment 2 Dmitri Vedenko 2009-02-17 06:02:42 UTC
Surely it does. Thank you for patch
Comment 3 Sam Lantinga 2009-10-10 12:42:03 UTC

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