[vlc-devel] [PATCH 2/3] dxgi_fmt: add one more texture in the array
Steve Lhomme
robux4 at videolabs.io
Sun Jul 2 11:38:08 CEST 2017
I420 and other formats need 3 planes
---
modules/video_chroma/dxgi_fmt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_chroma/dxgi_fmt.h b/modules/video_chroma/dxgi_fmt.h
index b79dbce7c0..8e8cdb5e5b 100644
--- a/modules/video_chroma/dxgi_fmt.h
+++ b/modules/video_chroma/dxgi_fmt.h
@@ -29,7 +29,7 @@
#include <vlc_common.h>
#include <vlc_fourcc.h>
-#define D3D11_MAX_SHADER_VIEW 2
+#define D3D11_MAX_SHADER_VIEW 3
typedef struct
{
--
2.13.0
More information about the vlc-devel
mailing list