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 1554

Summary: WGL fails to set OpenGL context flags
Product: SDL Reporter: Kajetan Swierk <kajetan.swierk>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: trivial    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: Windows (All)   
Attachments: patch

Description Kajetan Swierk 2012-07-22 12:56:22 UTC
Created attachment 910 [details]
patch

There's a probable typo in one of the WGL definition concerning context creation - WGL_CONTEXT_FLAGS_ARB gets the same value as WGL_CONTEXT_LAYER_PLANE_ARB and thus it fails to set anything via SDL_GL_SetAttribute with SDL_GL_CONTEXT_FLAGS. X11 doesn't seem to suffer the same condition.
Comment 1 Sam Lantinga 2012-07-22 16:38:18 UTC
Whoops!  Fixed, thanks!
http://hg.libsdl.org/SDL/rev/3990b7d564d7