Henri Verbeet : wined3d: Make the device parameter to wined3d_event_query_finish() const.

Alexandre Julliard julliard at winehq.org
Mon Oct 31 12:49:03 CDT 2011


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Sun Oct 30 18:06:35 2011 +0100

wined3d: Make the device parameter to wined3d_event_query_finish() const.

---

 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 ae03479..d88d182 100644
--- a/dlls/wined3d/query.c
+++ b/dlls/wined3d/query.c
@@ -111,7 +111,7 @@ static enum wined3d_event_query_result wined3d_event_query_test(const struct win
 }
 
 enum wined3d_event_query_result wined3d_event_query_finish(const struct wined3d_event_query *query,
-        struct wined3d_device *device)
+        const struct wined3d_device *device)
 {
     struct wined3d_context *context;
     const struct wined3d_gl_info *gl_info;
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 25a24e5..73f1ea1 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -1045,7 +1045,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(const struct wined3d_event_query *query,
-        struct wined3d_device *device) DECLSPEC_HIDDEN;
+        const 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;
 




More information about the wine-cvs mailing list