[vlc-commits] direct3d11: rename globVertexShaderDefault to globVertexShaderFlat
Steve Lhomme
git at videolan.org
Mon Nov 21 17:33:36 CET 2016
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Mon Nov 21 10:03:04 2016 +0100| [1620731b1475a69b7348fee497e435e4da0f4452] | committer: Jean-Baptiste Kempf
direct3d11: rename globVertexShaderDefault to globVertexShaderFlat
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1620731b1475a69b7348fee497e435e4da0f4452
---
modules/video_output/win32/direct3d11.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index d109154..0e88f89 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -169,7 +169,7 @@ typedef HRESULT(WINAPI *PFN_CREATE_DXGI_FACTORY)(REFIID riid, void **ppFactory);
#endif
/* TODO: Move to a direct3d11_shaders header */
-static const char* globVertexShaderDefault = "\
+static const char* globVertexShaderFlat = "\
struct VS_INPUT\
{\
float4 Position : POSITION;\
@@ -1720,7 +1720,7 @@ static int AllocQuad(vout_display_t *vd, const video_format_t *fmt, d3d_quad_t *
ID3DBlob* pVSBlob = NULL;
/* TODO : Match the version to the D3D_FEATURE_LEVEL */
- hr = D3DCompile(globVertexShaderDefault, strlen(globVertexShaderDefault),
+ hr = D3DCompile(globVertexShaderFlat, strlen(globVertexShaderFlat),
NULL, NULL, NULL, "VS", "vs_4_0_level_9_1", 0, 0, &pVSBlob, NULL);
if( FAILED(hr)) {
More information about the vlc-commits
mailing list