| Summary: | Cannot create 3.3 or 4.1 context on Mac OS X 10.9 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | BurnSpamAddress |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | amaranth72 |
| Version: | 2.0.1 | ||
| Hardware: | x86 | ||
| OS: | Mac OS X (All) | ||
|
Description
BurnSpamAddress
2013-12-03 06:54:49 UTC
Hey Ryan, didn't you already fix this? (In reply to Sam Lantinga from comment #1) > Hey Ryan, didn't you already fix this? I did, it's in Bug #1942. (In reply to BurnSpamAddress from comment #0) > SDL should probably try to create the context and only report a failure if > that fails. OS X doesn't offer a way to ask for an arbitrary version: just explicitly 3.2, and now with Mavericks, 4.1. The numbers happens to match up somewhat (0x0302 and 0x0401, I think), but we can't safely plug arbitrary numbers in there and expect it to work, so we have to update our list of available versions every time a new OS X comes out. --ryan. *** This bug has been marked as a duplicate of bug 1942 *** Actually, SDL's code for requesting a 4.1 context on OS X always gives back the software renderer for me, despite the fact that I can create a 4.1 context by requesting 3.2. The value SDL uses as an NSOpenGLPixelFormatAttribute when requesting 4.1 isn't actually officially supported, apparently. I have more description and a patch here: https://bugzilla.libsdl.org/show_bug.cgi?id=2197#c2 |