[SDL] Fadeout effect when switching modes in fullscreen on OSX
cwalther at gmx.ch
Tue Dec 12 09:11:33 PST 2006
Stephen Anthony wrote:
> Instead of the quick change that occurs in Linux and Windows, the
> whole screen fades out, and then back in again.
> What is this effect, and is it possible to disable it?
The black screen is there to hide the flickering that the resolution
switch would otherwise cause, and the fading to and from it is there to
make it easier on the eyes.
There's no way for a library user to disable this (I guess it didn't
occur to anyone that anyone would want to do this), but you can of
course modify SDL to get rid of it. The code is in
src/video/quartz/SDL_QuartzVideo.m (search case-insensitively for "fade"
to catch all places, or have a look at how the current code was
See also the discussion that led to the current implementation:
More information about the SDL