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 67 - switching between fullscreen and windowed mode, 16 bits opengl, fails
Summary: switching between fullscreen and windowed mode, 16 bits opengl, fails
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 1.2.9
Hardware: x86 Windows (XP)
: P2 minor
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL: http://treellama.org/sdl16bug.cpp.txt
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-22 18:21 UTC by Gregory Smith
Modified: 2006-03-14 02:41 UTC (History)
0 users

See Also:


Attachments
example code (533 bytes, text/plain)
2006-01-22 18:23 UTC, Gregory Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gregory Smith 2006-01-22 18:21:29 UTC
I get an "Unable to make GL context current" error when switching between fullscreen and windowed modes, but only at 16 bit depth--15 and 32 work fine. This happens with DirectX and windib drivers.

There's an example in the URL above.
Comment 1 Gregory Smith 2006-01-22 18:23:31 UTC
Created attachment 28 [details]
example code

Ah, now I can post an attachment
Comment 2 Ryan C. Gordon 2006-01-27 11:23:20 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 3 Sam Lantinga 2006-03-14 02:41:51 UTC
In this case we have to recreate the OpenGL window, and there was code to do this in SDL, but it was disabled because it doesn't work with DirectX.

I've re-enabled this code for the windib driver, which is the default now.