• Advertisement

Archived

This topic is now archived and is closed to further replies.

Full screen texture mess-up

This topic is 5041 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

I have an app based on nehe''s basecode. When I switch to full screen, my textures all become white, so, of course, the result is ugly. The resolution and bit depth are exatly the same. Switching back to a window doesn''t fix the problem. What should I do?

Share this post


Link to post
Share on other sites
Advertisement
Does the same thing happen with NeHe''s tutorials, such as the texturing one?

Share this post


Link to post
Share on other sites
I''m going to assume you are using Windoze specific code, which I can''t help you with as much. I do know that opengl clears many state variables when switching display modes. Or at least glut does. Keep a backup of texture data and reinitialize it when you switch. That might help.

Life would be so much easier if we could just get the source code.

Share this post


Link to post
Share on other sites
Ok, here is the prob :
When you are switching to full screen, you probably create a new context. Thats not the same where you load your textures.
The prob is probably the Device Context. When you switch windowed to full screen, you have to reload your textures each time! Try it in any games, like UT, it will reload the textures.

Share this post


Link to post
Share on other sites

  • Advertisement