mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fix wrong screenshot gamma
This commit is contained in:
parent
c96d8c198e
commit
7957c423aa
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ TArray<uint8_t> VulkanFrameBuffer::GetScreenshotBuffer(int &pitch, ESSType &colo
|
||||||
|
|
||||||
pitch = w * 3;
|
pitch = w * 3;
|
||||||
color_type = SS_RGB;
|
color_type = SS_RGB;
|
||||||
gamma = 2.2f;
|
gamma = 1.0f;
|
||||||
return ScreenshotBuffer;
|
return ScreenshotBuffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue