aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-06-29 11:32:06 +0200
committerSimon Ser <contact@emersion.fr>2022-06-29 11:32:06 +0200
commite26c3a02dfa2e071f8a70ee192cd11f2434c6b64 (patch)
tree24e82eaf26aeb70e8de77a801417de864979d0d8
parent517ea218c6318e1b268ba88b46c4a0fe7713eb82 (diff)
build: fix enabled GBM when allocators=auto and auto_features=disabled
-rw-r--r--render/allocator/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/allocator/meson.build b/render/allocator/meson.build
index f8e452df..97c5a1c3 100644
--- a/render/allocator/meson.build
+++ b/render/allocator/meson.build
@@ -1,7 +1,7 @@
allocators = get_option('allocators')
if 'auto' in allocators and get_option('auto_features').enabled()
allocators = ['gbm']
-elif 'auto' in renderers and get_option('auto_features').disabled()
+elif 'auto' in allocators and get_option('auto_features').disabled()
allocators = []
endif