[Mesa-dev] [PATCH 1/2] egl/surfaceless: remove duplicate KHR_image_base enablement

Emil Velikov emil.l.velikov at gmail.com
Mon Dec 5 14:42:03 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

Already set by the core code - dri2_create_screen/dri2_setup_screen

Cc: Chad Versace <chadversary at chromium.org>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/egl/drivers/dri2/platform_surfaceless.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/egl/drivers/dri2/platform_surfaceless.c b/src/egl/drivers/dri2/platform_surfaceless.c
index 025aaa2..8811c84 100644
--- a/src/egl/drivers/dri2/platform_surfaceless.c
+++ b/src/egl/drivers/dri2/platform_surfaceless.c
@@ -322,8 +322,6 @@ dri2_initialize_surfaceless(_EGLDriver *drv, _EGLDisplay *disp)
       goto cleanup_screen;
    }
 
-   disp->Extensions.KHR_image_base = EGL_TRUE;
-
    /* Fill vtbl last to prevent accidentally calling virtual function during
     * initialization.
     */
-- 
2.10.2



More information about the mesa-dev mailing list