wined3d: Mark the context valid if making it current on the "backup" window worked.

This commit is contained in:
Henri Verbeet 2013-11-04 10:02:44 +01:00 committed by Alexandre Julliard
parent 3ad8989614
commit f4aab54ca1
1 changed files with 2 additions and 0 deletions

View File

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