From 2b789778fdc3dade3b07c2f5d1e4752e8e4ae0c5 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Fri, 15 Jul 2011 01:14:53 +0200 Subject: [PATCH] wined3d: Make the swapchain parameter to swapchain_blit() const. --- dlls/wined3d/swapchain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c index 4752e392b3f..5b065bea412 100644 --- a/dlls/wined3d/swapchain.c +++ b/dlls/wined3d/swapchain.c @@ -277,7 +277,7 @@ HRESULT CDECL wined3d_swapchain_get_gamma_ramp(const struct wined3d_swapchain *s } /* A GL context is provided by the caller */ -static void swapchain_blit(struct wined3d_swapchain *swapchain, +static void swapchain_blit(const struct wined3d_swapchain *swapchain, struct wined3d_context *context, const RECT *src_rect, const RECT *dst_rect) { struct wined3d_surface *backbuffer = swapchain->back_buffers[0];