meson: set windows glx defines
authorJon Turney <jon.turney@dronecode.org.uk>
Thu, 23 Nov 2017 13:40:06 +0000 (13:40 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Thu, 30 Nov 2017 15:09:21 +0000 (15:09 +0000)
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
meson.build

index 4a2e817f0fa45d53daa58b45d12f6f7966ab80c0..a7a51bccb33b4dce1155a21d4d5c38c3cc6a3b57 100644 (file)
@@ -392,6 +392,8 @@ if with_platform_x11
     endif
     if with_dri_platform == 'drm'
       pre_args += '-DGLX_USE_DRM'
+    elif with_dri_platform == 'windows'
+      pre_args += '-DGLX_USE_WINDOWSGL'
     endif
   endif
 else