From d5c2ba6d624f1d6703222e0aa30dba0a26f06c97 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Sun, 28 Aug 2011 23:27:46 +0200 Subject: [PATCH] wined3d: Make the target parameter to is_full_clear() const. --- dlls/wined3d/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 91d8dd977f9..8afa2d836d8 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -581,7 +581,7 @@ void device_switch_onscreen_ds(struct wined3d_device *device, 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 */ if (draw_rect->left || draw_rect->top