Henri Verbeet : wined3d: Pass a texture and sub-resource index to read_from_framebuffer().