mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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