Api was too confusing for people.

This commit is contained in:
Matthew Parlane committed 2013-11-17 10:34:34 +13:00
1 parent 2025f00f88
commit 71d70d896f
7 files changed
+16 -8

No files matched your search

@@ -71,6 +71,7 @@ bool TextureCache::TCacheEntry::Save(const char filename[], unsigned int level)
memcpy(data, map.pData, map.RowPitch * desc.Height);
saved_png = TextureToPng(data, map.RowPitch, filename, desc.Width, desc.Height);
delete[] data;
}
D3D::context->Unmap(pNewTexture, 0);
}