egl/android: don't populate dri2_dpy->dri2_loader_extension
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 16 Aug 2016 16:23:23 +0000 (17:23 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 11:17:18 +0000 (12:17 +0100)
commit6a8fe32430077c44fda8a84c014a986e3fc77204
treee10c457fe26f57d2985c0d9fbb781199348cd0a4
parent675719817e7bf7c5b9da22c02252aca77a41338d
egl/android: don't populate dri2_dpy->dri2_loader_extension

The extension stored in struct dri2_egl_display isn't used, thus we can
create a static const instance of the extension and point extensions[]
to it.

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