wined3d: Make the device parameter to context_apply_clear_state() const.
This commit is contained in:
parent
9b42c657e4
commit
bab2a40f87
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue