vlc | branch: master | Steve Lhomme <[email protected]> | Mon Nov  6 18:43:36 
2017 +0100| [cdd9db1013390a0e2cc6eabe42ab3d8b13f12ecf] | committer: Steve Lhomme

direct3d11: use a structure to store the display characteristic

AKA the shader output format

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cdd9db1013390a0e2cc6eabe42ab3d8b13f12ecf
---

 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 50c8a1c93e..44064ec1ed 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

Reply via email to