egl/android: remove duplicate KHR_image_base set
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 25 Aug 2016 12:04:18 +0000 (13:04 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 11:53:38 +0000 (12:53 +0100)
The core egl/dri2 already sets the extension bit _only_ when possible -
which in Android's case is always.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/platform_android.c

index 83ffa2361724aadadc39b4241dfeb2577614dfca..ac9072afd5c93887512c7ac48bf6a19e1a66c010 100644 (file)
@@ -967,7 +967,6 @@ dri2_initialize_android(_EGLDriver *drv, _EGLDisplay *dpy)
    dpy->Extensions.ANDROID_framebuffer_target = EGL_TRUE;
    dpy->Extensions.ANDROID_image_native_buffer = EGL_TRUE;
    dpy->Extensions.ANDROID_recordable = EGL_TRUE;
-   dpy->Extensions.KHR_image_base = EGL_TRUE;
 
    /* Fill vtbl last to prevent accidentally calling virtual function during
     * initialization.