st/nine: Queries: always succeed for D3DQUERYTYPE_TIMESTAMP when flushing
This is the behaviour that Wine tests Tested-by: David Heidelberg <david@ixit.cz> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user