[vlc-commits] [Git][videolan/vlc][master] contrib: libplacebo: fix crash when using Vulkan on Windows
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Sat Apr 22 14:33:46 UTC 2023
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
ed6857ed by Steve Lhomme at 2023-04-22T13:27:42+00:00
contrib: libplacebo: fix crash when using Vulkan on Windows
- - - - -
2 changed files:
- + contrib/src/libplacebo/0001-vulkan-add-missing-array-termination.patch
- contrib/src/libplacebo/rules.mak
Changes:
=====================================
contrib/src/libplacebo/0001-vulkan-add-missing-array-termination.patch
=====================================
@@ -0,0 +1,24 @@
+From d551a3c42bb3799e88e778ea7f3d0402a46efbff Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= <kasper93 at gmail.com>
+Date: Thu, 19 Jan 2023 21:15:16 +0100
+Subject: [PATCH] vulkan: add missing array termination
+
+---
+ src/vulkan/context.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/vulkan/context.c b/src/vulkan/context.c
+index 9fa80c2f..d93283e0 100644
+--- a/src/vulkan/context.c
++++ b/src/vulkan/context.c
+@@ -195,6 +195,7 @@ static const struct vk_ext vk_device_extensions[] = {
+ .name = VK_EXT_FULL_SCREEN_EXCLUSIVE_EXTENSION_NAME,
+ .funs = (struct vk_fun[]) {
+ PL_VK_DEV_FUN(AcquireFullScreenExclusiveModeEXT),
++ {0}
+ },
+ #endif
+ },
+--
+2.37.3.windows.1
+
=====================================
contrib/src/libplacebo/rules.mak
=====================================
@@ -39,6 +39,7 @@ libplacebo: $(PLACEBO_ARCHIVE) .sum-libplacebo
$(UNPACK)
$(APPLY) $(SRC)/libplacebo/0001-vulkan-meson-add-the-clang-gcc-C-runtime.patch
$(APPLY) $(SRC)/libplacebo/0001-meson-allow-overriding-python3-path.patch
+ $(APPLY) $(SRC)/libplacebo/0001-vulkan-add-missing-array-termination.patch
$(MOVE)
.libplacebo: libplacebo crossfile.meson .python-venv
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ed6857ed47de17715b01e82ddf9e8defe1b6d849
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ed6857ed47de17715b01e82ddf9e8defe1b6d849
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list