[vlc-devel] [PATCH 3/5] direct3d11: rename globVertexShaderDefault to globVertexShaderFlat

Steve Lhomme robux4 at videolabs.io
Mon Nov 21 17:55:12 CET 2016


---
 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)) {
-- 
2.10.1



More information about the vlc-devel mailing list