Henri Verbeet : wined3d: Restore the thread's GL context on context_release () if it wasn't created by wined3d.