mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +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>
This commit is contained in:
parent
7cd1f645de
commit
ba1bd9aed8
1 changed files with 1 additions and 2 deletions
|
|
@ -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