[vlc-commits] Glwin32: move affinity to the glwin32 structure

Jean-Baptiste Kempf git at videolan.org
Wed Sep 11 12:41:34 CEST 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Sep 11 12:41:18 2013 +0200| [49ee6502b1c1be9015e64ea9c9d39115ce83ca03] | committer: Jean-Baptiste Kempf

Glwin32: move affinity to the glwin32 structure

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

 modules/video_output/msw/common.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/msw/common.h b/modules/video_output/msw/common.h
index 1d53a72..5ed449b 100644
--- a/modules/video_output/msw/common.h
+++ b/modules/video_output/msw/common.h
@@ -125,6 +125,7 @@ struct vout_display_sys_t
     HGLRC                 hGLRC;
     vlc_gl_t              gl;
     vout_display_opengl_t *vgl;
+    HDC                   affinityHDC; // DC for the selected GPU
 #endif
 
 #ifdef MODULE_NAME_IS_direct2d
@@ -151,6 +152,7 @@ struct vout_display_sys_t
     D3DCAPS9                d3dcaps;
     LPDIRECT3DDEVICE9       d3ddev;
     D3DPRESENT_PARAMETERS   d3dpp;
+
     // scene objects
     LPDIRECT3DTEXTURE9      d3dtex;
     LPDIRECT3DVERTEXBUFFER9 d3dvtc;
@@ -186,8 +188,6 @@ struct vout_display_sys_t
         RGBQUAD    blue;
     };
 #endif
-
-    HDC affinityHDC; // DC for the selected GPU
 };
 
 /*****************************************************************************



More information about the vlc-commits mailing list