Module: wine Branch: stable Commit: 638f15f3679c3ae1d9ec40d1fdc606a4a194f3aa URL: http://source.winehq.org/git/wine.git/?a=commit;h=638f15f3679c3ae1d9ec40d1fd...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Nov 4 10:02:44 2013 +0100
wined3d: Mark the context valid if making it current on the "backup" window worked.
(cherry picked from commit f4aab54ca15d0447e1336cea7844fdabbb975339)
---
dlls/wined3d/context.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index a20bc7f..4a37b23 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -812,6 +812,8 @@ static BOOL context_set_gl_context(struct wined3d_context *ctx) context_set_current(NULL); return FALSE; } + + ctx->valid = 1; } return TRUE; }