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

This commit is contained in:
Henri Verbeet 2011-06-29 23:14:14 +02:00 committed by Alexandre Julliard
parent 6894d8022a
commit 2257a70e37
2 changed files with 2 additions and 2 deletions

View File

@ -626,7 +626,7 @@ static void context_detach_fbo_entry(struct wined3d_context *context, struct fbo
entry->attached = FALSE;
}
void context_resource_unloaded(struct wined3d_device *device,
void context_resource_unloaded(const struct wined3d_device *device,
struct wined3d_resource *resource, WINED3DRESOURCETYPE type)
{
switch (type)

View File

@ -1238,7 +1238,7 @@ DWORD context_get_tls_idx(void) DECLSPEC_HIDDEN;
void context_release(struct wined3d_context *context) DECLSPEC_HIDDEN;
void context_resource_released(const struct wined3d_device *device,
struct wined3d_resource *resource, WINED3DRESOURCETYPE type) DECLSPEC_HIDDEN;
void context_resource_unloaded(struct wined3d_device *device,
void context_resource_unloaded(const struct wined3d_device *device,
struct wined3d_resource *resource, WINED3DRESOURCETYPE type) DECLSPEC_HIDDEN;
BOOL context_set_current(struct wined3d_context *ctx) DECLSPEC_HIDDEN;
void context_set_draw_buffer(struct wined3d_context *context, GLenum buffer) DECLSPEC_HIDDEN;