- renamed fullscreen CVar internally to vid_fullscreen to make searching for it easier.

The word 'fullscreen' appears a bit too frequently in the source.
This commit is contained in:
Christoph Oelckers 2020-04-11 13:05:58 +02:00
commit fdc14ca805
13 changed files with 37 additions and 32 deletions

View file

@ -435,7 +435,7 @@ TArray<uint8_t> OpenGLFrameBuffer::GetScreenshotBuffer(int &pitch, ESSType &colo
// Screenshot should not use gamma correction if it was already applied to rendered image
gamma = 1;
if (vid_hdr_active && fullscreen)
if (vid_hdr_active && vid_fullscreen)
gamma *= 2.2f;
return ScreenshotBuffer;
}