wined3d: Mark the context valid if making it current on the "backup" window worked.
This commit is contained in:
parent
3ad8989614
commit
f4aab54ca1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue