Mesa (master): meson: set apple glx defines

Jon TURNEY jturney at kemper.freedesktop.org
Mon Feb 5 22:01:12 UTC 2018


Module: Mesa
Branch: master
Commit: 569628dd24f85ebddf263b6d974f0bc07c0e46dc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=569628dd24f85ebddf263b6d974f0bc07c0e46dc

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Fri Oct 27 21:08:07 2017 -0700

meson: set apple glx defines

Reviewed-by: Jon Turney <jon.turney at dronecode.org.uk>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

---

 meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meson.build b/meson.build
index d6ffa30d9e..030ab0c626 100644
--- a/meson.build
+++ b/meson.build
@@ -617,6 +617,8 @@ if with_platform_x11
     endif
     if with_dri_platform == 'drm'
       pre_args += '-DGLX_USE_DRM'
+    elif with_dri_platform == 'apple'
+      pre_args += '-DGLX_USE_APPLEGL'
     elif with_dri_platform == 'windows'
       pre_args += '-DGLX_USE_WINDOWSGL'
     endif




More information about the mesa-commit mailing list