diff options
author | Axel Davy <axel.davy@ens.fr> | 2014-11-25 00:38:13 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-11-26 20:09:12 +0000 |
commit | a10bf5c10caf27232d4df8da74d5c35c23eb883d (patch) | |
tree | 5eb55e61b82a8b811c0b989b695fd09f4dfa7150 | |
parent | d52328fc398aae4c3582172516b0ad98f0677b58 (diff) |
st/nine: fix formatting in query9 (cosmetic)
Cc: "10.4" <mesa-stable@lists.freedesktop.org>
Reviewed-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
-rw-r--r-- | src/gallium/state_trackers/nine/query9.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/nine/query9.c b/src/gallium/state_trackers/nine/query9.c index 908420c30dd..39c44352700 100644 --- a/src/gallium/state_trackers/nine/query9.c +++ b/src/gallium/state_trackers/nine/query9.c @@ -185,15 +185,15 @@ NineQuery9_Issue( struct NineQuery9 *This, if (dwIssueFlags == D3DISSUE_BEGIN) { if (This->state == NINE_QUERY_STATE_RUNNING) { - pipe->end_query(pipe, This->pq); - } + pipe->end_query(pipe, This->pq); + } pipe->begin_query(pipe, This->pq); This->state = NINE_QUERY_STATE_RUNNING; } else { if (This->state == NINE_QUERY_STATE_RUNNING) { pipe->end_query(pipe, This->pq); This->state = NINE_QUERY_STATE_ENDED; - } + } } return D3D_OK; } |