We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1047

Summary: The OpenGL context is lost when the window resizes
Product: SDL Reporter: admin
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED WONTFIX QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: admin, dgorst
Version: 1.2.14   
Hardware: x86   
OS: Windows (All)   

Description admin 2010-08-18 18:01:32 UTC
This bug is old. I am programming a game with a modified version of SDL 1.2.11 because the textures context is lost everytime the window resizes. When I saw the last release, I ran to try if it were true that the OpenGL context was not lost with this version, but the bug still continues.

From the Changelog of SDL 1.2.14:

Window notes:
- Prevent loss of OpenGL context when setting the video mode in response to a window resize event. 

The OpenGL context is still being lost when the window resizes.


Thank you very much!!
Comment 1 Sam Lantinga 2011-02-16 04:20:23 UTC
There's a huge number of improvements in the SDL OpenGL support in 1.3, this is one of them.