mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
xf86-video-intel: default to dri3 if Vulkan is enabled
This commit is contained in:
parent
5ded624e3c
commit
23245ccf1a
@ -32,9 +32,14 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-backlight \
|
||||
--disable-tear-free \
|
||||
--disable-create2 \
|
||||
--disable-async-swap \
|
||||
--with-default-dri=2 \
|
||||
--with-xorg-module-dir=${XORG_PATH_MODULES}"
|
||||
|
||||
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" --with-default-dri=3"
|
||||
else
|
||||
PKG_CONFIGURE_OPTS_TARGET+=" --with-default-dri=2"
|
||||
fi
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf ${INSTALL}/usr/share/polkit-1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user