vlc | branch: master | Steve Lhomme <[email protected]> | Mon Nov 21 10:03:04 2016 +0100| [1620731b1475a69b7348fee497e435e4da0f4452] | committer: Jean-Baptiste Kempf
direct3d11: rename globVertexShaderDefault to globVertexShaderFlat Signed-off-by: Jean-Baptiste Kempf <[email protected]> > 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)) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
