No clear screen at startup
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
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement