Stefan Dösinger : wined3d: Do not use surface-> resource.allocatedMemory.