summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglapi.c
diff options
context:
space:
mode:
authorChad Versace <chadversary@chromium.org>2016-10-12 15:52:12 -0700
committerChad Versace <chadversary@chromium.org>2016-10-14 11:19:27 -0700
commitc177ef9d47943f648a13beed14269f468583c16e (patch)
tree8980956045b42c241c710dc956389b76bc1aa0c1 /src/egl/main/eglapi.c
parent27f4e381736f0abee35aa25035cb54b5c34f9bef (diff)
downloadexternal_mesa3d-c177ef9d47943f648a13beed14269f468583c16e.zip
external_mesa3d-c177ef9d47943f648a13beed14269f468583c16e.tar.gz
external_mesa3d-c177ef9d47943f648a13beed14269f468583c16e.tar.bz2
egl: Don't advertise unsupported platform extensions
Mesa's set of supported platform extensions depends on the autoconf option --with-egl-platforms=foo,bar,baz. If --with-egl-platforms lacks foo, then eglGetPlatformDisplay(EGL_PLATFORM_FOO, ...) unconditonally fails. So, if --with-egl-platforms lacks foo, then remove EGL_VENDOR_platform_foo from the EGL client extension string. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'src/egl/main/eglapi.c')
0 files changed, 0 insertions, 0 deletions