mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-01 01:00:24 -04:00
Api was too confusing for people.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user