Stefan Dösinger : wined3d: Remove resource-> allocatedMemory.