wined3d: Make the target parameter to is_full_clear() const.
This commit is contained in:
parent
78cbe0bc74
commit
d5c2ba6d62
|
@ -581,7 +581,7 @@ void device_switch_onscreen_ds(struct wined3d_device *device,
|
||||||
wined3d_surface_incref(device->onscreen_depth_stencil);
|
wined3d_surface_incref(device->onscreen_depth_stencil);
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL is_full_clear(struct wined3d_surface *target, const RECT *draw_rect, const RECT *clear_rect)
|
static BOOL is_full_clear(const struct wined3d_surface *target, const RECT *draw_rect, const RECT *clear_rect)
|
||||||
{
|
{
|
||||||
/* partial draw rect */
|
/* partial draw rect */
|
||||||
if (draw_rect->left || draw_rect->top
|
if (draw_rect->left || draw_rect->top
|
||||||
|
|
Loading…
Reference in New Issue