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

This commit is contained in:
Henri Verbeet 2011-10-24 21:24:39 +02:00 committed by Alexandre Julliard
parent d09ad48328
commit 9b42c657e4
2 changed files with 2 additions and 2 deletions

View File

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

View File

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