Henri Verbeet : wined3d: Mark the context valid if making it current on the "backup" window worked.
Alexandre Julliard
julliard at winehq.org
Fri Jan 10 14:44:54 CST 2014
Module: wine
Branch: stable
Commit: 638f15f3679c3ae1d9ec40d1fdc606a4a194f3aa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=638f15f3679c3ae1d9ec40d1fdc606a4a194f3aa
Author: Henri Verbeet <hverbeet at 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;
}
More information about the wine-cvs
mailing list