Commit 2b789778 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Make the swapchain parameter to swapchain_blit() const.

parent 2e14d9ac
...@@ -277,7 +277,7 @@ HRESULT CDECL wined3d_swapchain_get_gamma_ramp(const struct wined3d_swapchain *s ...@@ -277,7 +277,7 @@ HRESULT CDECL wined3d_swapchain_get_gamma_ramp(const struct wined3d_swapchain *s
} }
/* A GL context is provided by the caller */ /* 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_context *context, const RECT *src_rect, const RECT *dst_rect)
{ {
struct wined3d_surface *backbuffer = swapchain->back_buffers[0]; struct wined3d_surface *backbuffer = swapchain->back_buffers[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment