| Summary: | WGL fails to set OpenGL context flags | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Kajetan Swierk <kajetan.swierk> |
| Component: | video | Assignee: | 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 | ||
Whoops! Fixed, thanks! http://hg.libsdl.org/SDL/rev/3990b7d564d7 |
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.