From c4da128b8f64a6b2fb8f85e1e7e645122ded5778 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 23 Jun 2011 00:02:36 +0200 Subject: [PATCH] wined3d: Make the device and target parameters to FindContext() 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 42141f2911b..8edace0c8b8 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -1923,7 +1923,7 @@ static void SetupForBlit(struct wined3d_device *device, struct wined3d_context * } /* Do not call while under the GL lock. */ -static struct wined3d_context *FindContext(struct wined3d_device *device, struct wined3d_surface *target) +static struct wined3d_context *FindContext(const struct wined3d_device *device, const struct wined3d_surface *target) { struct wined3d_context *current_context = context_get_current(); struct wined3d_context *context;