[vlc-devel] [PATCH 3/5] direct3d11: remove unused argument
Steve Lhomme
robux4 at videolabs.io
Thu Mar 2 17:28:36 CET 2017
---
modules/video_output/win32/direct3d11.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 24188b8e12..d42fe2da96 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1651,7 +1651,7 @@ static HRESULT CompilePixelShader(vout_display_t *vd, const char *psz_shader, ID
msg_Err(vd, "no room for the Pixel Shader");
return E_OUTOFMEMORY;
}
- sprintf(shader, psz_shader, sys->legacy_shader ? "" : "Array", sys->legacy_shader ? "" : "Array");
+ sprintf(shader, psz_shader, sys->legacy_shader ? "" : "Array");
ID3DBlob *pPSBlob = CompileShader(vd, shader, true);
free(shader);
--
2.11.1
More information about the vlc-devel
mailing list