Module: wine Branch: master Commit: f8e7b1e80c578b5cff3248f4ce5d5561507f7a95 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f8e7b1e80c578b5cff3248f4ce...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Sun Oct 30 18:06:36 2011 +0100
wined3d: Make the device parameter to wined3d_event_query_issue() 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 d88d182..79572a2 100644 --- a/dlls/wined3d/query.c +++ b/dlls/wined3d/query.c @@ -179,7 +179,7 @@ enum wined3d_event_query_result wined3d_event_query_finish(const struct wined3d_ return ret; }
-void wined3d_event_query_issue(struct wined3d_event_query *query, struct wined3d_device *device) +void wined3d_event_query_issue(struct wined3d_event_query *query, const struct wined3d_device *device) { const struct wined3d_gl_info *gl_info; struct wined3d_context *context; diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index 73f1ea1..1a08c5b 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -1046,7 +1046,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, const struct wined3d_device *device) DECLSPEC_HIDDEN; -void wined3d_event_query_issue(struct wined3d_event_query *query, struct wined3d_device *device) DECLSPEC_HIDDEN; +void wined3d_event_query_issue(struct wined3d_event_query *query, const struct wined3d_device *device) DECLSPEC_HIDDEN; BOOL wined3d_event_query_supported(const struct wined3d_gl_info *gl_info) DECLSPEC_HIDDEN;
struct wined3d_context