Stefan Dösinger : wined3d: Read format flags from the surface container.