vlc | branch: master | Steve Lhomme <[email protected]> | Mon Oct 15 12:52:20 2018 +0200| [8a2935bff7da2ee1ddb9fb609dabd2c0c5012b59] | committer: Steve Lhomme
d3d11_shaders: fix stray float3 in tone mapping > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8a2935bff7da2ee1ddb9fb609dabd2c0c5012b59 --- modules/video_output/win32/d3d11_shaders.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/video_output/win32/d3d11_shaders.c b/modules/video_output/win32/d3d11_shaders.c index 0563a7e0d0..f023de481f 100644 --- a/modules/video_output/win32/d3d11_shaders.c +++ b/modules/video_output/win32/d3d11_shaders.c @@ -483,7 +483,7 @@ HRESULT D3D11_CompilePixelShader(vlc_object_t *o, d3d11_handle_t *hd3d, bool leg { /* HDR tone mapping */ psz_tone_mapping = - "static const float3 HABLE_DIV = hable(11.2);\n" + "static const float4 HABLE_DIV = hable(11.2);\n" "rgb = hable(rgb * LuminanceScale) / HABLE_DIV;\n" "return rgb"; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
