[SDL] display change & screensaver

Rob serenity at nosubstancesoftware.com
Thu Jan 9 19:06:01 PST 2003

Even though you're using software surfaces, have you possibly initalised the
graphics to use hardware surfaces by default, and maybe some hardware
surfaces have slipped through?

Sorry, just sounds a lot like the usual hardware surface issue when running
under Windows.

----- Original Message -----
From: "Ignacio Castaño" <castanyo at yahoo.es>
To: <sdl at libsdl.org>
Sent: Friday, January 10, 2003 1:54 PM
Subject: [SDL] display change & screensaver

> Hi,
> my SDL apps are crashing when the display resolution changes, that is,
> the user changes the screen resolution while my app is running. Is this a
> known problem? Is there any workaround to solve it?
> Something similar happens with the screensaver. If the screensaver
> has been enabled, there's no way to bypass it, so the screensaver runs
> if you return 0 to the syscommand screensave message. And if that happens
> app crashes.
> Well, the app does not segfault, instead of that, it just stays in an
> infinite loop inside bcore or kernel32. This happens on win2k with
> with the dx driver and using only sw surfaces.
> Ignacio Castaño
> castanyo at yahoo.es
> ___________________________________________________
> Yahoo! Postales
> Felicita las Navidades con las postales más
> divertidas desde http://postales.yahoo.es
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl

More information about the SDL mailing list