wined3d: Don't reuse contexts marked for destruction.
This commit is contained in:
parent
40af06a576
commit
57ccdb7e36
|
@ -1609,6 +1609,8 @@ static inline WineD3DContext *FindContext(IWineD3DDeviceImpl *This, IWineD3DSurf
|
||||||
const struct GlPixelFormatDesc *old, *new;
|
const struct GlPixelFormatDesc *old, *new;
|
||||||
struct WineD3DContext *context;
|
struct WineD3DContext *context;
|
||||||
|
|
||||||
|
if (current_context && current_context->destroyed) current_context = NULL;
|
||||||
|
|
||||||
if (!target)
|
if (!target)
|
||||||
{
|
{
|
||||||
if (current_context
|
if (current_context
|
||||||
|
|
Loading…
Reference in New Issue