Commit 49ee6502 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Glwin32: move affinity to the glwin32 structure

parent ab93e351
...@@ -125,6 +125,7 @@ struct vout_display_sys_t ...@@ -125,6 +125,7 @@ struct vout_display_sys_t
HGLRC hGLRC; HGLRC hGLRC;
vlc_gl_t gl; vlc_gl_t gl;
vout_display_opengl_t *vgl; vout_display_opengl_t *vgl;
HDC affinityHDC; // DC for the selected GPU
#endif #endif
#ifdef MODULE_NAME_IS_direct2d #ifdef MODULE_NAME_IS_direct2d
...@@ -151,6 +152,7 @@ struct vout_display_sys_t ...@@ -151,6 +152,7 @@ struct vout_display_sys_t
D3DCAPS9 d3dcaps; D3DCAPS9 d3dcaps;
LPDIRECT3DDEVICE9 d3ddev; LPDIRECT3DDEVICE9 d3ddev;
D3DPRESENT_PARAMETERS d3dpp; D3DPRESENT_PARAMETERS d3dpp;
// scene objects // scene objects
LPDIRECT3DTEXTURE9 d3dtex; LPDIRECT3DTEXTURE9 d3dtex;
LPDIRECT3DVERTEXBUFFER9 d3dvtc; LPDIRECT3DVERTEXBUFFER9 d3dvtc;
...@@ -186,8 +188,6 @@ struct vout_display_sys_t ...@@ -186,8 +188,6 @@ struct vout_display_sys_t
RGBQUAD blue; RGBQUAD blue;
}; };
#endif #endif
HDC affinityHDC; // DC for the selected GPU
}; };
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment