Ken Thomases : wined3d: Call context_enter() before context_update_window( ) so it records the proper restore state.
Alexandre Julliard
julliard at winehq.org
Sat Feb 22 09:50:04 CST 2014
Module: wine
Branch: master
Commit: 088dd7289cf031cec70005bb4e0d8e815699d0ed
URL: http://source.winehq.org/git/wine.git/?a=commit;h=088dd7289cf031cec70005bb4e0d8e815699d0ed
Author: Ken Thomases <ken at codeweavers.com>
Date: Wed Feb 19 16:13:29 2014 -0600
wined3d: Call context_enter() before context_update_window() so it records the proper restore state.
---
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 c835414..6cd04ca 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -3000,9 +3000,9 @@ struct wined3d_context *context_acquire(const struct wined3d_device *device, str
context = swapchain_get_context(device->swapchains[0]);
}
+ context_enter(context);
context_update_window(context);
context_setup_target(context, target);
- context_enter(context);
if (!context->valid) return context;
if (context != current_context)
More information about the wine-cvs
mailing list