wined3d: Store the last active thread.

oldstable
Stefan Dösinger 2007-07-09 17:27:39 +02:00 committed by Alexandre Julliard
parent 1fb168f018
commit 9dedfd71e0
1 changed files with 1 additions and 0 deletions

View File

@ -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;