From f6bf5f1c7475ff1b19b0e8c3e71c1224d5b6bc82 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 17 May 2017 17:06:43 -0700 Subject: [PATCH] glamor_egl: Remove check for KHR_surfaceless_context_* Those extensions don't exist. There's only surfaceless_context. Signed-off-by: Eric Anholt Reviewed-by: Emil Velikov --- glamor/glamor_egl.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/glamor/glamor_egl.c b/glamor/glamor_egl.c index a82c1f790..9527caad2 100644 --- a/glamor/glamor_egl.c +++ b/glamor/glamor_egl.c @@ -699,12 +699,7 @@ glamor_egl_init(ScrnInfoPtr scrn, int fd) } GLAMOR_CHECK_EGL_EXTENSION(KHR_gl_texture_2D_image); -#ifdef GLAMOR_GLES2 - GLAMOR_CHECK_EGL_EXTENSIONS(KHR_surfaceless_context, KHR_surfaceless_gles2); -#else - GLAMOR_CHECK_EGL_EXTENSIONS(KHR_surfaceless_context, - KHR_surfaceless_opengl); -#endif + GLAMOR_CHECK_EGL_EXTENSION(KHR_surfaceless_context); #ifndef GLAMOR_GLES2 glamor_egl->context = eglCreateContext(glamor_egl->display,