diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index b7834a2cecb..32791b7ccb5 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -840,6 +840,7 @@ void ActivateContext(IWineD3DDeviceImpl *This, IWineD3DSurface *target, ContextU if(This->lastActiveRenderTarget != target || tid != This->lastThread) { context = FindContext(This, target, tid); This->lastActiveRenderTarget = target; + This->lastThread = tid; } else { /* Stick to the old context */ context = This->activeContext;