summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/nine/query9.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/query9.c b/src/gallium/state_trackers/nine/query9.c
index 9d74ab8fad9..937255667be 100644
--- a/src/gallium/state_trackers/nine/query9.c
+++ b/src/gallium/state_trackers/nine/query9.c
@@ -223,6 +223,9 @@ NineQuery9_GetData( struct NineQuery9 *This,
wait_query_result = TRUE;
}
+ /* Wine tests: D3DQUERYTYPE_TIMESTAMP always succeeds */
+ wait_query_result |= This->type == D3DQUERYTYPE_TIMESTAMP;
+
/* Note: We ignore dwGetDataFlags, because get_query_result will
* flush automatically if needed */