[PATCH 2/5] wined3d: Mark the context valid if making it current on the "backup" window worked.

Henri Verbeet hverbeet at codeweavers.com
Mon Nov 4 03:02:44 CST 2013


---
 dlls/wined3d/context.c |    2 ++
 1 file changed, 2 insertions(+)

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;
 }
-- 
1.7.10.4




More information about the wine-patches mailing list