summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/device9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-12-28 17:54:47 +0100
committerAxel Davy <[email protected]>2017-01-12 20:33:11 +0100
commitd43bc05e8ba0f326273c21b10f714e4d2514adae (patch)
treed447229ed7277c9af9dfbf8d097ec479b6b902c9 /src/gallium/state_trackers/nine/device9.c
parent9b5f5de9e9efd6a0c0f53806c0f4b5890c84f98b (diff)
st/nine: Remove duplicated checks
There is no need to check on csmt_active before calling nine_csmt_process, because the function checks already. Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/device9.c')
-rw-r--r--src/gallium/state_trackers/nine/device9.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c
index f095ff3c862..d76d506a8a2 100644
--- a/src/gallium/state_trackers/nine/device9.c
+++ b/src/gallium/state_trackers/nine/device9.c
@@ -522,8 +522,7 @@ NineDevice9_ctor( struct NineDevice9 *This,
nine_state_init_sw(This);
ID3DPresentGroup_Release(This->present);
- if (This->csmt_active)
- nine_csmt_process(This);
+ nine_csmt_process(This);
return D3D_OK;
}