Sign in to follow this  
sascoo

windowed mode to fullscreen on vista

Recommended Posts

Hi, I working on a DirectX 9 wrapper in Vista. Currently when I switch to full-screen mode, I call a reset on the graphics device. When the window changes size, my lighting messes up. It is really weird because the exact same code will work on XP without any troubles. Any suggestions? Thanks, John

Share this post


Link to post
Share on other sites
Device states are lost after a reset, so you should restore them. This is the expected behaviour under all OS's, but I guess it's possible that a certain driver or runtime maintains state.

Share this post


Link to post
Share on other sites
Hmm, I am pretty sure that I am doing everything right since it works in XP. I am resetting all the parameters on the graphics device... Also, it appears to be just a lighting problem. I am currently drawing a sphere and the only problem is that the sphere is darkened. I guess I should just try running my program on another vista machine. My video card on it is kind of a piece of crap :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this