Fixed bug when looking for PBR image timestamp

This commit is contained in:
Robert Beckebans 2020-04-13 18:20:45 +02:00
parent 56a2ec0dfc
commit bc7d66a740
2 changed files with 10 additions and 3 deletions

View file

@ -941,6 +941,7 @@ void idRenderSystemLocal::TakeScreenshot( int width, int height, const char* fil
R_StaticFree( shortBuffer );
r_jitter.SetBool( false );
}
if( exten == PNG )
{
R_WritePNG( finalFileName, buffer, 3, width, height, false, "fs_basepath" );