egl: fix _EGL_NATIVE_PLATFORM fallback
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 10 Sep 2019 16:06:09 +0000 (17:06 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Mon, 11 Nov 2019 17:14:07 +0000 (17:14 +0000)
commit86d3a346f1576acb6c2f8c3be3853a6a3e226b5c
treeeb7987fc2a956501214d44653c9ac2963d88f7da
parent20b403aad0db5dda579de9ff31c38906b277d364
egl: fix _EGL_NATIVE_PLATFORM fallback

When the X11 or Haiku platforms were compiled in, they would bypass the
`_EGL_NATIVE_PLATFORM` fallback by always returning themselves instead.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/egl/main/egldisplay.c