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 1148 - SDL window white upon first appearing
Summary: SDL window white upon first appearing
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86 Mac OS X 10.6
: P2 trivial
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 14:23 UTC by Vern Jensen
Modified: 2013-05-21 02:31 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vern Jensen 2011-02-23 14:23:39 UTC
This one may seem minor (and it is), but it'd be great if the window could have black contents when it first appears.

This is a bit more noticeable when fullscreen. The process I can see visually upon starting up is:

A) A white window appears instantly, covering the entire screen.
B) It fades to black.
C) It fades back to white (!)
D) This is then replaced with my splash screen.

It'd be great if steps A and C could just be black. It's particularly noticeable since it starts up not only white in Step A, but we see it again in Step C, all before my program seems to have any control over the window's contents. (Unless I'm missing something.)

If you launch commercial games, you'll see they start up real smoothly, just going to black at startup.
Comment 1 Sam Lantinga 2013-05-21 02:31:00 UTC
In the latest code on Mac OS X 10.8, a white window shows up in the middle of the screen briefly, but when the screen goes fullscreen the monitor is black at that point.

I just changed it so the initial window starts out black:
http://hg.libsdl.org/SDL/rev/373d9e4e8ad9