Revert screen shot fs_savepath change for Windows and linux

This commit is contained in:
Stephen Saunders 2023-03-05 08:51:34 -05:00
parent 7b9d36c1d1
commit 378b66075c

View file

@ -890,8 +890,12 @@ bool R_ReadPixelsRGB8( nvrhi::IDevice* device, CommonRenderPasses* pPasses, nvrh
data[ i * 4 + 3 ] = 0xff;
}
// SRS - Save screen shots to fs_savepath, not fs_basepath
// SRS - Save screen shots to fs_savepath on macOS (i.e. don't save into an app bundle's basepath)
#if defined(__APPLE__)
R_WritePNG( fullname, static_cast<byte*>( pData ), 4, desc.width, desc.height, true, "fs_savepath" );
#else
R_WritePNG( fullname, static_cast<byte*>( pData ), 4, desc.width, desc.height, true, "fs_basepath" );
#endif
if( newData )
{