mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-27 09:01:46 +00:00
meson: Add equirect2 to build.
This commit is contained in:
parent
1227c77556
commit
663dfe8990
|
@ -101,3 +101,9 @@ option('layer_equirect',
|
|||
value: false,
|
||||
description: 'Enable support for Equirect Layers'
|
||||
)
|
||||
|
||||
option('layer_equirect2',
|
||||
type: 'boolean',
|
||||
value: true,
|
||||
description: 'Enable support for Equirect2 Layers'
|
||||
)
|
||||
|
|
|
@ -90,6 +90,10 @@ if get_option('layer_cylinder')
|
|||
endif
|
||||
|
||||
if get_option('layer_equirect')
|
||||
have_conf.set('XRT_FEATURE_OPENXR_LAYER_EQUIRECT_LEGACY', true)
|
||||
endif
|
||||
|
||||
if get_option('layer_equirect2')
|
||||
have_conf.set('XRT_FEATURE_OPENXR_LAYER_EQUIRECT', true)
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue