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/device9ex.c | |
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/device9ex.c')
-rw-r--r-- | src/gallium/state_trackers/nine/device9ex.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/nine/device9ex.c b/src/gallium/state_trackers/nine/device9ex.c index 00d460bdee4..d36189d4571 100644 --- a/src/gallium/state_trackers/nine/device9ex.c +++ b/src/gallium/state_trackers/nine/device9ex.c @@ -39,13 +39,11 @@ NineDevice9Ex_ctor( struct NineDevice9Ex *This, ID3DPresentGroup *pPresentationGroup, struct d3dadapter9_context *pCTX ) { - This->base.ex = TRUE; - This->base.pFullscreenDisplayMode = pFullscreenDisplayMode; - return NineDevice9_ctor(&This->base, pParams, pScreen, pCreationParameters, pCaps, pPresentationParameters, - (IDirect3D9 *)pD3D9Ex, pPresentationGroup, pCTX); + (IDirect3D9 *)pD3D9Ex, pPresentationGroup, pCTX, + TRUE, pFullscreenDisplayMode); } static void |