summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/device9ex.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-10-28 19:19:39 +0200
committerAxel Davy <[email protected]>2016-12-20 23:44:22 +0100
commiteb884a4ac2579a8c15a0548e0a72cf9cc07530e0 (patch)
treea1c4feb107eeefa1d7c1f800d534830b084c4c01 /src/gallium/state_trackers/nine/device9ex.c
parentb95205b1f28ba23d88bc24bbb663b1e4938bbb48 (diff)
st/nine: Integrate nine_pipe_context_clear to nine_context_clear
Part of the refactor to move all gallium calls to nine_state.c, and have all internal states required for those calls in nine_context. 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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/device9ex.c b/src/gallium/state_trackers/nine/device9ex.c
index 77a364a31a7..30c8c65e2b6 100644
--- a/src/gallium/state_trackers/nine/device9ex.c
+++ b/src/gallium/state_trackers/nine/device9ex.c
@@ -257,9 +257,8 @@ NineDevice9Ex_Reset( struct NineDevice9Ex *This,
break;
}
- nine_pipe_context_clear((struct NineDevice9 *)This);
nine_state_clear(&This->base.state, TRUE);
- nine_context_clear(&This->base.context);
+ nine_context_clear(&This->base);
NineDevice9_SetDefaultState((struct NineDevice9 *)This, TRUE);
NineDevice9_SetRenderTarget(