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