Skip to content

Commit a50c025

Browse files
committed
mupen64plus: disable the Vulkan API in core project
The Vulkan API can be used by video plugins and front-end, but we don't currently ship any such components. Added upstream in mupen64plus/mupen64plus-core#1022
1 parent fdcb033 commit a50c025

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scriptmodules/emulators/mupen64plus.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ function build_mupen64plus() {
170170
isPlatform "armv6" && params+=("HOST_CPU=armv6")
171171
isPlatform "armv7" && params+=("HOST_CPU=armv7")
172172
isPlatform "aarch64" && params+=("HOST_CPU=aarch64")
173+
# we don't ship a Vulkan enabled front-end, so disable Vulkan in the core project
174+
params+=("VULKAN=0")
173175

174176
[[ "$dir" == "mupen64plus-ui-console" ]] && params+=("COREDIR=$md_inst/lib/" "PLUGINDIR=$md_inst/lib/mupen64plus/")
175177
make -C "$dir/projects/unix" "${params[@]}" clean
@@ -244,6 +246,8 @@ function install_mupen64plus() {
244246
isPlatform "armv7" && params+=("HOST_CPU=armv7")
245247
isPlatform "aarch64" && params+=("HOST_CPU=aarch64")
246248
isPlatform "x86" && params+=("SSE=SSE2")
249+
# disable VULKAN for the core project
250+
params+=("VULKAN=0")
247251
make -C "$source/projects/unix" PREFIX="$md_inst" OPTFLAGS="$CFLAGS -O3 -flto" "${params[@]}" install
248252
fi
249253
done

0 commit comments

Comments
 (0)