mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 10:09:36 -06:00
Use libpng for saving images.
TODO: Needs threading done similiar to OGL backend. Fixes issue 6779.
This commit is contained in:
@ -11,7 +11,7 @@ namespace DX11
|
||||
|
||||
namespace D3D
|
||||
{
|
||||
HRESULT TextureToPng(D3D11_MAPPED_SUBRESOURCE& map, LPCWSTR wzFilename, int width, int height, bool saveAlpha = true);
|
||||
bool TextureToPng(D3D11_MAPPED_SUBRESOURCE& map, const char* filename, int width, int height, bool saveAlpha = true);
|
||||
void ReplaceRGBATexture2D(ID3D11Texture2D* pTexture, const u8* buffer, unsigned int width, unsigned int height, unsigned int pitch, unsigned int level, D3D11_USAGE usage);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user