From b50703aea55450e04bcd8154335774786e0f253b Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 18 Jul 2012 09:38:34 -0700 Subject: egl: Replace KHR_surfaceless_* extensions with KHR_surfaceless_context MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit KHR extension name is reserved for Khronos ratified extensions, and there is no such thing as EGL_KHR_surfaceless_{gles1,gles2,opengl}. Replace these three extensions with EGL_KHR_surfaceless_context since that extension actually exists. Signed-off-by: Ian Romanick Reviewed-by: Kristian Høgsberg Reviewed-by: Matt Turner Reviewed-by: Chad Versace --- src/egl/drivers/dri2/egl_dri2.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/egl/drivers') diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index ffef3bfff4f..a78ee8b4217 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -483,15 +483,11 @@ dri2_setup_screen(_EGLDisplay *disp) if (dri2_dpy->dri2) { if (dri2_dpy->dri2->base.version >= 2) { - disp->Extensions.KHR_surfaceless_gles1 = EGL_TRUE; - disp->Extensions.KHR_surfaceless_gles2 = EGL_TRUE; - disp->Extensions.KHR_surfaceless_opengl = EGL_TRUE; + disp->Extensions.KHR_surfaceless_context = EGL_TRUE; } } else { assert(dri2_dpy->swrast); - disp->Extensions.KHR_surfaceless_gles1 = EGL_TRUE; - disp->Extensions.KHR_surfaceless_gles2 = EGL_TRUE; - disp->Extensions.KHR_surfaceless_opengl = EGL_TRUE; + disp->Extensions.KHR_surfaceless_context = EGL_TRUE; } if (dri2_dpy->image) { -- cgit v1.2.3