mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
egl: Remove check for GL or GLES
They are the only APIs supported these days and, most likely,
going forward.
Cc: mesa-stable
Signed-off-by: Robert Mader <robert.mader@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35242>
(cherry picked from commit ba1bd9aed8)
This commit is contained in:
parent
b843ba4bf1
commit
2ce5cd09e5
2 changed files with 2 additions and 3 deletions
|
|
@ -1394,7 +1394,7 @@
|
|||
"description": "egl: Remove check for GL or GLES",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -270,8 +270,7 @@ _eglParseContextAttribList(_EGLContext *ctx, _EGLDisplay *disp,
|
|||
* contexts."
|
||||
*/
|
||||
if (!(disp->Extensions.KHR_create_context && api == EGL_OPENGL_API) &&
|
||||
!(disp->Version >= 15 &&
|
||||
(api == EGL_OPENGL_API || api == EGL_OPENGL_ES_API))) {
|
||||
disp->Version < 15) {
|
||||
err = EGL_BAD_ATTRIBUTE;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue