summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/device9ex.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2014-11-25 00:38:01 +0100
committerEmil Velikov <[email protected]>2014-11-26 20:09:10 +0000
commit104b5a81933b7a2f4fa24302a1d972ad3dd0dec6 (patch)
treed60c446267f044f6cb57d073d248982cbaafccee /src/gallium/state_trackers/nine/device9ex.c
parent9b7037a3696cc9282f209435fc26702998341b5e (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.c6
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