mirror of https://github.com/PCSX2/pcsx2.git
GS: dump alpha channel too.
This commit is contained in:
parent
8e93e9f516
commit
3b309c6d4e
|
@ -168,7 +168,7 @@ bool GSTexture11::Save(const std::string& fn)
|
|||
|
||||
res->GetDesc(&desc);
|
||||
|
||||
#ifdef ENABLE_OGL_DEBUG
|
||||
#ifdef PCSX2_DEVBUILD
|
||||
GSPng::Format format = GSPng::RGB_A_PNG;
|
||||
#else
|
||||
GSPng::Format format = GSPng::RGB_PNG;
|
||||
|
|
|
@ -573,7 +573,7 @@ bool GSTextureOGL::Save(const std::string& fn)
|
|||
u32 pitch = 4 * m_committed_size.x;
|
||||
u32 buf_size = pitch * m_committed_size.y * 2; // Note *2 for security (depth/stencil)
|
||||
std::unique_ptr<u8[]> image(new u8[buf_size]);
|
||||
#ifdef ENABLE_OGL_DEBUG
|
||||
#ifdef PCSX2_DEVBUILD
|
||||
GSPng::Format fmt = GSPng::RGB_A_PNG;
|
||||
#else
|
||||
GSPng::Format fmt = GSPng::RGB_PNG;
|
||||
|
|
|
@ -81,7 +81,7 @@ void GSTextureSW::Unmap()
|
|||
|
||||
bool GSTextureSW::Save(const std::string& fn)
|
||||
{
|
||||
#ifdef ENABLE_OGL_DEBUG
|
||||
#ifdef PCSX2_DEVBUILD
|
||||
GSPng::Format fmt = GSPng::RGB_A_PNG;
|
||||
#else
|
||||
GSPng::Format fmt = GSPng::RGB_PNG;
|
||||
|
|
Loading…
Reference in New Issue