[PATCH 5/5] wined3d: Fix the TIMESTAMP_DISJOINT query.

Matteo Bruni mbruni at codeweavers.com
Mon May 4 16:16:15 CDT 2015


Spotted by Patrick Rudolph.
---
 dlls/wined3d/query.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/query.c b/dlls/wined3d/query.c
index 0ec578d..9e6f21a 100644
--- a/dlls/wined3d/query.c
+++ b/dlls/wined3d/query.c
@@ -650,7 +650,7 @@ static HRESULT wined3d_timestamp_disjoint_query_ops_get_data(struct wined3d_quer
 
     if (query->type == WINED3D_QUERY_TYPE_TIMESTAMP_DISJOINT)
     {
-        static const struct wined3d_query_data_timestamp_disjoint disjoint_data = {FALSE, 1000 * 1000 * 1000};
+        static const struct wined3d_query_data_timestamp_disjoint disjoint_data = {1000 * 1000 * 1000, FALSE};
 
         if (query->state == QUERY_BUILDING)
         {
-- 
2.3.6




More information about the wine-patches mailing list