From 4725d4bb992a4ab96edbae1c59c01764dbbf1089 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 28 Jun 2011 02:26:16 +0200 Subject: [PATCH] wined3d: Make the depth_stencil parameter to context_validate_onscreen_formats() const. --- dlls/wined3d/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 3af69e895ef..bbee5ee5b27 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -1984,7 +1984,7 @@ static BOOL match_depth_stencil_format(const struct wined3d_format *existing, /* The caller provides a context */ static void context_validate_onscreen_formats(struct wined3d_device *device, - struct wined3d_context *context, struct wined3d_surface *depth_stencil) + struct wined3d_context *context, const struct wined3d_surface *depth_stencil) { /* Onscreen surfaces are always in a swapchain */ struct wined3d_swapchain *swapchain = context->current_rt->container.u.swapchain;