wined3d: Make the target parameter to is_full_clear() const.

This commit is contained in:
Henri Verbeet 2011-08-28 23:27:46 +02:00 committed by Alexandre Julliard
parent 78cbe0bc74
commit d5c2ba6d62
1 changed files with 1 additions and 1 deletions

View File

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