[PATCH] wined3d: fix wrong struct initialization

Patrick Rudolph siro at das-labor.org
Sun Apr 26 05:22:25 CDT 2015


 From 4db666971eae150164086c5fccd6e4e7c24749ea Mon Sep 17 00:00:00 2001
 From: Patrick Rudolph <siro at das-labor.org>
Date: Sun, 26 Apr 2015 12:19:13 +0200
Subject: [PATCH] wined3d: fix wrong struct initialization

---
  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.1.0




More information about the wine-patches mailing list