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

This commit is contained in:
Henri Verbeet 2011-10-30 18:06:36 +01:00 committed by Alexandre Julliard
parent 76b5b8a67b
commit f8e7b1e80c
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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