Opened 10 years ago

Closed 10 years ago

#11960 closed bug (invalid)

SDL: problem when reverting to previous resolution with Intel GMA driver

Reported by: jackburton Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Drivers/Graphics/intel_extreme Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

If a game using SDL changes the screen's resolution, then on exit the screen resolution is wrong: let's say the game requests a 640x480 full screen resolution, then on exit, on my laptop I get a screen of 640x480 (not scaled, since the Intel driver doesn't do scaling). Could be something on SDL or a problem with the driver.

Change History (2)

comment:1 by diver, 10 years ago

It's the same with VESA driver. I think it's a problem with SDL port.

comment:2 by pulkomandy, 10 years ago

Resolution: invalid
Status: newclosed

Yes, this is a bug in SDL. The way it saves and restores the resolution is not reliable, and it fails to restore on exit. Sometimes it will "restore" a resolution even though the game was run in a window and did not change the screenmode.

Marking as invalid, this should be reported to SDL bugtracker and/or haikuports.

Note: See TracTickets for help on using tickets.