Henri Verbeet : wined3d: Mark the context valid if making it current on the "backup" window worked.
Module: wine Branch: master Commit: f4aab54ca15d0447e1336cea7844fdabbb975339 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f4aab54ca15d0447e1336cea78... Author: Henri Verbeet <hverbeet(a)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. --- dlls/wined3d/context.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index a604088..07f81e5 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -814,6 +814,8 @@ static BOOL context_set_gl_context(struct wined3d_context *ctx) context_set_current(NULL); return FALSE; } + + ctx->valid = 1; } return TRUE; }
participants (1)
-
Alexandre Julliard