Module: wine Branch: master Commit: 6ffd0668341c0410c11fa8654be2e51c5bbb4f0d URL: http://source.winehq.org/git/wine.git/?a=commit;h=6ffd0668341c0410c11fa8654b...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Jul 19 12:56:15 2011 +0200
wined3d: Make the query 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 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;