Matteo Bruni : wined3d: Fix the TIMESTAMP_DISJOINT query.

Alexandre Julliard julliard at wine.codeweavers.com
Tue May 5 09:50:51 CDT 2015


Module: wine
Branch: master
Commit: 4b35cf730f12f993176be85aa9aabf9b532aed6d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4b35cf730f12f993176be85aa9aabf9b532aed6d

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Mon May  4 23:16:15 2015 +0200

wined3d: Fix the TIMESTAMP_DISJOINT query.

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)
         {




More information about the wine-cvs mailing list