Henri Verbeet : wined3d: Correctly calculate the resource size for ATI2N surfaces.