Henri Verbeet : wined3d: Keep track of a thread's wined3d context.