Stefan Dösinger : wined3d: Don't use volume->resource. allocatedMemory.