| Summary: | SDL_GL_GetAttribute(SDL_GL_RED_SIZE) fails for core profiles | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Stephan T. Lavavej <stl> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | amaranth72, roaldfernandez |
| Version: | 2.0.0 | Keywords: | target-2.0.4, triage-2.0.4 |
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
Self-contained test case.
Patch to fix SDL_GL_GetAttribute in Core Profile contexts |
||
|
Description
Stephan T. Lavavej
2013-08-24 05:20:57 UTC
Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry if you got a lot of email from this. This is to help me sort through some bugs in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4, though! (sorry if you get a lot of copies of this email, I'm marking several bugs at once) Marking bugs for the (mostly) final 2.0.4 TODO list. This means we're hoping to resolve this bug before 2.0.4 ships if possible. In a perfect world, the open bug count with the target-2.0.4 keyword is zero when we ship. (Note that closing a bug report as WONTFIX, INVALID or WORKSFORME might still happen.) --ryan. Created attachment 2124 [details]
Patch to fix SDL_GL_GetAttribute in Core Profile contexts
Here's a patch that makes SDL_GL_GetAttribute use glGetFramebufferAttachmentParameteriv when appropriate.
This should be fixed as of this commit: https://hg.libsdl.org/SDL/rev/a583c42c51d7 |