[PATCH 5/5] wined3d: Make the swapchain parameter to swapchain_blit() const.

Henri Verbeet hverbeet at codeweavers.com
Thu Jul 14 18:14:53 CDT 2011


---
 dlls/wined3d/swapchain.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c
index 4752e39..5b065be 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];
-- 
1.7.3.4




More information about the wine-patches mailing list