[PATCH v2 6/7] wined3d: Handle depth textures in texture2d_read_from_framebuffer().