[vlc-commits] contrib: libplacebo: autodetect vulkan

Thomas Guillem git at videolan.org
Thu Nov 8 16:36:36 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Nov  8 16:35:43 2018 +0100| [4d2bee52d977b2c8e7e65eb938dc47cbaa914f2a] | committer: Thomas Guillem

contrib: libplacebo: autodetect vulkan

And don't fail if not available (since libplacebo can still be used with
OpenGL).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4d2bee52d977b2c8e7e65eb938dc47cbaa914f2a
---

 contrib/src/libplacebo/rules.mak | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/contrib/src/libplacebo/rules.mak b/contrib/src/libplacebo/rules.mak
index ed47c0090d..cddef03a4f 100644
--- a/contrib/src/libplacebo/rules.mak
+++ b/contrib/src/libplacebo/rules.mak
@@ -11,13 +11,8 @@ ifeq ($(call need_pkg,"libplacebo"),)
 PKGS_FOUND += libplacebo
 endif
 
-ifdef HAVE_WIN32
-PLACEBOCONF :=
-else
-PLACEBOCONF := -Dvulkan=enabled \
-	-Dglslang=enabled \
+PLACEBOCONF := -Dglslang=enabled \
 	-Dshaderc=disabled
-endif
 
 $(TARBALLS)/$(PLACEBO_ARCHIVE):
 	$(call download_pkg,$(PLACEBO_URL),libplacebo)



More information about the vlc-commits mailing list