Henri Verbeet : wined3d: Make the device parameter to context_resource_unloaded() const.
Alexandre Julliard
julliard at winehq.org
Fri Jul 1 14:11:02 CDT 2011
Module: wine
Branch: master
Commit: 2257a70e3796b6ed8ea2bd5ba14c03beb8ec5292
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2257a70e3796b6ed8ea2bd5ba14c03beb8ec5292
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Wed Jun 29 23:14:14 2011 +0200
wined3d: Make the device parameter to context_resource_unloaded() const.
---
dlls/wined3d/context.c | 2 +-
dlls/wined3d/wined3d_private.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 4040083..0391672 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -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)
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index ad75c62..4420e13 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -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;
More information about the wine-cvs
mailing list