[PATCH 4/5] wined3d: Make the device and target parameters to FindContext() const.

Henri Verbeet hverbeet at codeweavers.com
Wed Jun 22 17:02:36 CDT 2011


---
 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;
-- 
1.7.3.4




More information about the wine-patches mailing list