| Summary: | OpenGL ES 3 context can't be created through EGL without the EGL_KHR_create_context extension | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Magnus Bjerke Vik <mbvett> |
| Component: | video | Assignee: | Alex Szpakowski <amaranth72> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | critical | ||
| Priority: | P2 | CC: | amaranth72, mbvett |
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Magnus Bjerke Vik
2015-05-25 10:26:49 UTC
FWIW, with your patch if a GLES 3.1 context is requested and EGL_KHR_create_context isn't supported, then a GLES 3.0 context will be created rather than no context being created. (In reply to Alex Szpakowski from comment #1) > FWIW, with your patch if a GLES 3.1 context is requested and > EGL_KHR_create_context isn't supported, then a GLES 3.0 context will be > created rather than no context being created. I find it weird that the standard specification doesn't include a way to create a context with a minor version greater than 0. Would it be better to make the code fail with an error message if a minor version > 0 is specified? (In reply to Magnus Bjerke Vik from comment #2) > I find it weird that the standard specification doesn't include a way to > create a context with a minor version greater than 0. Well, it does – but only as of EGL 1.5 or the EGL_KHR_create_context extension (whose functionality was made part of EGL 1.5.) I believe I fixed the issue with this commit: https://hg.libsdl.org/SDL/rev/adf81fe554b9 Let me know if it works! (In reply to Alex Szpakowski from comment #4) > I believe I fixed the issue with this commit: > https://hg.libsdl.org/SDL/rev/adf81fe554b9 > > Let me know if it works! Great! Works as expected. Thank you. |