[PATCH 4/6] wined3d: Pass a texture and sub-resource index to read_from_framebuffer().