• Advertisement
Sign in to follow this  

No clear screen at startup

This topic is 4400 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey I noticed that the screen isnt completely black at the startup of my DX app. A picture of the screensaver can be seen for less than a sec for example (if it was on prior to start) etc. Maybe I clear the screen too late? Or I forget to do something? //IlyaZ

Share this post


Link to post
Share on other sites
Advertisement
This, in my experience, is more of a driver problem than something wrong with your application. Sometimes changing the presentation parameters (D3DPRESENT_PARAMETERS struct passed to CreateDevice()) can stop it.

Essentially what you're seeing is a "ghost" image of the previous contents of the video memory - the driver/hardware has allocated your application's swapchain the same (or nearly the same) piece of memory that your screensaver was last using. For performance reasons theres no need to zero-out a block of memory once it's been declared as unused/released.

hth
Jack

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement