Stefan Dösinger : wined3d: Store the last active thread.