Stefan Dösinger : wined3d: Store the last active thread.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jul 10 08:02:32 CDT 2007
Module: wine
Branch: master
Commit: 9dedfd71e0211b46d58f1a0b17b1c3e8ca1eb0d7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9dedfd71e0211b46d58f1a0b17b1c3e8ca1eb0d7
Author: Stefan Dösinger <stefandoesinger at gmx.at>
Date: Mon Jul 9 17:27:39 2007 +0200
wined3d: Store the last active thread.
---
dlls/wined3d/context.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index b7834a2..32791b7 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;
More information about the wine-cvs
mailing list