diff options
author | Eric Engestrom <[email protected]> | 2019-06-25 14:23:15 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-10 13:48:24 +0000 |
commit | 448eb19158f483d807ef5bff5242be3df82c7787 (patch) | |
tree | 8d1a1c4416afd21ff25744f92b7f30832ec90caa /src/freedreno | |
parent | a38e21d6683aeecb51aea4f933a77c6e7f1a6179 (diff) |
vulkan: automatically compile the `display` platform when available
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3161>
Diffstat (limited to 'src/freedreno')
-rw-r--r-- | src/freedreno/vulkan/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/meson.build b/src/freedreno/vulkan/meson.build index 1aa714122a5..eab543e1c12 100644 --- a/src/freedreno/vulkan/meson.build +++ b/src/freedreno/vulkan/meson.build @@ -81,7 +81,7 @@ if with_platform_wayland libtu_files += files('tu_wsi_wayland.c') endif -if with_platform_drm +if system_has_kms_drm tu_flags += '-DVK_USE_PLATFORM_DISPLAY_KHR' libtu_files += files('tu_wsi_display.c') endif |