Module: wine Branch: master Commit: 9b42c657e475c5e370ab75f05902788b2b786110 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9b42c657e475c5e370ab75f059...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Oct 24 21:24:39 2011 +0200
wined3d: Make the device parameter to context_apply_blit_state() 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 66460d9..888c40c 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -2100,7 +2100,7 @@ static DWORD context_generate_rt_mask_no_fbo(const struct wined3d_device *device }
/* Context activation is done by the caller. */ -void context_apply_blit_state(struct wined3d_context *context, struct wined3d_device *device) +void context_apply_blit_state(struct wined3d_context *context, const struct wined3d_device *device) { struct wined3d_surface *rt = context->current_rt; DWORD rt_mask, old_mask; diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index 8278983..02c60e1 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -1233,7 +1233,7 @@ void context_alloc_event_query(struct wined3d_context *context, struct wined3d_event_query *query) DECLSPEC_HIDDEN; void context_alloc_occlusion_query(struct wined3d_context *context, struct wined3d_occlusion_query *query) DECLSPEC_HIDDEN; -void context_apply_blit_state(struct wined3d_context *context, struct wined3d_device *device) DECLSPEC_HIDDEN; +void context_apply_blit_state(struct wined3d_context *context, const struct wined3d_device *device) DECLSPEC_HIDDEN; BOOL context_apply_clear_state(struct wined3d_context *context, struct wined3d_device *device, UINT rt_count, const struct wined3d_fb_state *fb) DECLSPEC_HIDDEN; BOOL context_apply_draw_state(struct wined3d_context *context, struct wined3d_device *device) DECLSPEC_HIDDEN;