Henri Verbeet : wined3d: Get resource info from the texture in fb_copy_to_texture_direct().