mesa/src/egl
Eric Engestrom 4ca9ae587c egl/display: only detect the platform once
My refactor missed the fact that `native_platform` is static.
Add the proper guard around the detection code, as it might not be
necessary, and only print the debug message when a detection was
actually performed.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101252
Fixes: 7adb9b0948 ("egl/display: remove unnecessary code and
                              make it easier to read")
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
2017-06-16 11:02:05 +01:00
..
drivers egl/android: Fix typ-o 2017-06-15 22:35:10 +01:00
generate EGL: Implement the libglvnd interface for EGL (v3) 2017-04-17 13:03:58 +01:00
main egl/display: only detect the platform once 2017-06-16 11:02:05 +01:00
wayland wayland: move .gitignore where applicable 2017-03-13 11:16:30 +00:00
.gitignore egl: add gitignore 2017-04-22 00:42:38 +01:00
Android.mk Android: push driver build details to driver makefiles 2017-05-11 13:52:21 +01:00
egl-entrypoint-check check: add support for running test as standalone 2017-02-26 13:39:45 +00:00
egl-symbols-check egl/egl-symbols-check: do not mandate bash 2017-03-10 14:12:48 +00:00
Makefile.am Fix khrplatform.h not installed if EGL is disabled. 2017-06-14 16:55:13 +01:00
Makefile.sources egl: remove suprous header eglcompiler.h 2017-05-08 15:33:59 +01:00
SConscript egl: Fix missing Haiku include path 2015-09-28 13:58:25 -04:00