From 9dedfd71e0211b46d58f1a0b17b1c3e8ca1eb0d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Mon, 9 Jul 2007 17:27:39 +0200 Subject: [PATCH] wined3d: Store the last active thread. --- dlls/wined3d/context.c | 1 + 1 file changed, 1 insertion(+) 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;