Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - mrchris

Pages: [1]
1
Window / Persisting OpenGL context across window recreation?
« on: April 23, 2010, 11:18:59 pm »
Currently when I recreate a window to switch from windowed to fullscreen or the reverse, I lose all the loaded textures. I guess because the OpenGL context is deleted on window recreation. I am using SFML2, I see that I can create an sf::Context separate from a window but I do not see a way to then give it to a window, it seems a window always makes its own context on creation... I feel like the answer is staring me in the face. Is it possible to persist the OpenGL context while creating and destroying windows?

Pages: [1]