Henri Verbeet : wined3d: Make the device and target parameters to FindContext() const.
Alexandre Julliard
julliard at winehq.org
Thu Jun 23 04:10:07 CDT 2011
Module: wine
Branch: master
Commit: c4da128b8f64a6b2fb8f85e1e7e645122ded5778
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c4da128b8f64a6b2fb8f85e1e7e645122ded5778
Author: Henri Verbeet <hverbeet at 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;
More information about the wine-cvs
mailing list