diff options
author | Axel Davy <[email protected]> | 2014-11-25 00:38:01 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-11-26 20:09:10 +0000 |
commit | 104b5a81933b7a2f4fa24302a1d972ad3dd0dec6 (patch) | |
tree | d60c446267f044f6cb57d073d248982cbaafccee /src/gallium/state_trackers/nine/device9.h | |
parent | 9b7037a3696cc9282f209435fc26702998341b5e (diff) |
st/nine: clean device9ex.
Pass ex specific parameters as arguments to device9 ctor instead
of passing them by filling the structure.
Cc: "10.4" <[email protected]>
Reviewed-by: David Heidelberg <[email protected]>
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/device9.h')
-rw-r--r-- | src/gallium/state_trackers/nine/device9.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/device9.h b/src/gallium/state_trackers/nine/device9.h index 9dc248e64fb..3649e1b479e 100644 --- a/src/gallium/state_trackers/nine/device9.h +++ b/src/gallium/state_trackers/nine/device9.h @@ -48,7 +48,6 @@ struct NineDevice9 { struct NineUnknown base; boolean ex; - D3DDISPLAYMODEEX *pFullscreenDisplayMode; /* G3D context */ struct pipe_screen *screen; @@ -134,6 +133,8 @@ NineDevice9_new( struct pipe_screen *pScreen, IDirect3D9 *pD3D9, ID3DPresentGroup *pPresentationGroup, struct d3dadapter9_context *pCTX, + boolean ex, + D3DDISPLAYMODEEX *pFullscreenDisplayMode, struct NineDevice9 **ppOut ); HRESULT @@ -145,7 +146,9 @@ NineDevice9_ctor( struct NineDevice9 *This, D3DPRESENT_PARAMETERS *pPresentationParameters, IDirect3D9 *pD3D9, ID3DPresentGroup *pPresentationGroup, - struct d3dadapter9_context *pCTX ); + struct d3dadapter9_context *pCTX, + boolean ex, + D3DDISPLAYMODEEX *pFullscreenDisplayMode ); void NineDevice9_dtor( struct NineDevice9 *This ); |