mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 06:34:10 +00:00
Revert screen shot fs_savepath change for Windows and linux
This commit is contained in:
parent
7b9d36c1d1
commit
378b66075c
1 changed files with 5 additions and 1 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue