Module: wine Branch: master Commit: bab2a40f87599caef5fa194740c1546cf5ba4c5e URL: http://source.winehq.org/git/wine.git/?a=commit;h=bab2a40f87599caef5fa194740...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Oct 24 21:24:40 2011 +0200
wined3d: Make the device parameter to context_apply_clear_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 888c40c..1def817 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -2171,7 +2171,7 @@ static BOOL context_validate_rt_config(UINT rt_count, }
/* Context activation is done by the caller. */ -BOOL context_apply_clear_state(struct wined3d_context *context, struct wined3d_device *device, +BOOL context_apply_clear_state(struct wined3d_context *context, const struct wined3d_device *device, UINT rt_count, const struct wined3d_fb_state *fb) { DWORD rt_mask = 0, old_mask; diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index 02c60e1..e911edd 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -1234,7 +1234,7 @@ void context_alloc_event_query(struct wined3d_context *context, 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, const struct wined3d_device *device) DECLSPEC_HIDDEN; -BOOL context_apply_clear_state(struct wined3d_context *context, struct wined3d_device *device, +BOOL context_apply_clear_state(struct wined3d_context *context, const 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; void context_apply_fbo_state_blit(struct wined3d_context *context, GLenum target,