Jump to content
  • Advertisement
Sign in to follow this  
jtza8

OpenGL Preserving Textures

This topic is 2525 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 just want to be sure I understand this correctly, but I'm pretty sure that switching between window and fullscreen modes creates a new OpenGL context, and thus I loose all my textures.

If I want to re-use textures, the best I can do is reload their tex-image data once I've switched video modes? ... or is there a better way?

Any help in knowing whether I'm right will be much appreciated. As will any advice.

Share this post


Link to post
Share on other sites
Advertisement
 It doesn't recreate gl context when you switching to full screen (or window mode).  And it doesn't delete your textures.

Of, course if you are initializing gl context by yourself (without using any incorrect 3rd party library).

Share this post


Link to post
Share on other sites

 It doesn't recreate gl context when you switching to full screen (or window mode).  And it doesn't delete your textures.

Of, course if you are initializing gl context by yourself (without using any incorrect 3rd party library).


Thanks, FXACE, that helped.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!