vlc/vlc-3.0 | branch: master | Steve Lhomme <[email protected]> | Mon Nov 6 18:43:36 2017 +0100| [49bde55e34282384930733edc2e68e7584a82f3d] | committer: Steve Lhomme
direct3d11: use a structure to store the display characteristic AKA the shader output format (cherry picked from commit cdd9db1013390a0e2cc6eabe42ab3d8b13f12ecf) > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=49bde55e34282384930733edc2e68e7584a82f3d --- modules/video_output/win32/direct3d11.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c index d4dc7fe33e..326d9ad1a5 100644 --- a/modules/video_output/win32/direct3d11.c +++ b/modules/video_output/win32/direct3d11.c @@ -108,14 +108,16 @@ typedef struct { bool b_full_range; } dxgi_color_space; +typedef struct { + const dxgi_color_space *colorspace; + unsigned luminance_peak; +} display_info_t; + struct vout_display_sys_t { vout_display_sys_win32_t sys; - struct { /* TODO may go in vout_display_info_t without DXGI */ - const dxgi_color_space *colorspace; - unsigned luminance_peak; - } display; + display_info_t display; #if !VLC_WINSTORE_APP HINSTANCE hdxgi_dll; /* handle of the opened dxgi dll */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
