[PATCH 5/5] wined3d: Make the query parameter to wined3d_event_query_finish() const.

Henri Verbeet hverbeet at codeweavers.com
Tue Jul 19 05:56:15 CDT 2011


---
 dlls/wined3d/query.c           |    2 +-
 dlls/wined3d/wined3d_private.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/query.c b/dlls/wined3d/query.c
index edc6864..b26fc26 100644
--- a/dlls/wined3d/query.c
+++ b/dlls/wined3d/query.c
@@ -110,7 +110,7 @@ static enum wined3d_event_query_result wined3d_event_query_test(const struct win
     return ret;
 }
 
-enum wined3d_event_query_result wined3d_event_query_finish(struct wined3d_event_query *query,
+enum wined3d_event_query_result wined3d_event_query_finish(const struct wined3d_event_query *query,
         struct wined3d_device *device)
 {
     struct wined3d_context *context;
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 0d0ecf2..77ea8c2 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -1041,7 +1041,7 @@ enum wined3d_event_query_result
 };
 
 void wined3d_event_query_destroy(struct wined3d_event_query *query) DECLSPEC_HIDDEN;
-enum wined3d_event_query_result wined3d_event_query_finish(struct wined3d_event_query *query,
+enum wined3d_event_query_result wined3d_event_query_finish(const struct wined3d_event_query *query,
         struct wined3d_device *device) DECLSPEC_HIDDEN;
 void wined3d_event_query_issue(struct wined3d_event_query *query, struct wined3d_device *device) DECLSPEC_HIDDEN;
 BOOL wined3d_event_query_supported(const struct wined3d_gl_info *gl_info) DECLSPEC_HIDDEN;
-- 
1.7.3.4




More information about the wine-patches mailing list