Module: wine Branch: master Commit: 89d0d3ffd8dc0e1bb8eddb69281269a04d120c8c URL: http://source.winehq.org/git/wine.git/?a=commit;h=89d0d3ffd8dc0e1bb8eddb6928...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Oct 25 21:20:28 2011 +0200
wined3d: Get rid of the device parameter to context_setup_target().
---
dlls/wined3d/context.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 1def817..f11b8db 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -2402,8 +2402,7 @@ BOOL context_apply_draw_state(struct wined3d_context *context, struct wined3d_de return TRUE; }
-static void context_setup_target(struct wined3d_device *device, - struct wined3d_context *context, struct wined3d_surface *target) +static void context_setup_target(struct wined3d_context *context, struct wined3d_surface *target) { BOOL old_render_offscreen = context->render_offscreen, render_offscreen;
@@ -2507,7 +2506,7 @@ struct wined3d_context *context_acquire(struct wined3d_device *device, struct wi }
context_update_window(context); - context_setup_target(device, context, target); + context_setup_target(context, target); context_enter(context); if (!context->valid) return context;