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

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

View File

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

View File

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