From: Axel Davy Date: Mon, 24 Nov 2014 23:38:13 +0000 (+0100) Subject: st/nine: fix formatting in query9 (cosmetic) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a10bf5c10caf27232d4df8da74d5c35c23eb883d;p=mesa.git st/nine: fix formatting in query9 (cosmetic) Cc: "10.4" Reviewed-by: David Heidelberg Signed-off-by: Axel Davy --- 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; }