Module: wine Branch: master Commit: c4da128b8f64a6b2fb8f85e1e7e645122ded5778 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c4da128b8f64a6b2fb8f85e1e7...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Jun 23 00:02:36 2011 +0200
wined3d: Make the device and target parameters to FindContext() const.
---
dlls/wined3d/context.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 42141f2..8edace0 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;