mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-05-04 17:29:24 -05:00
Implemented value thumbnails (#42)
* options_menu: implemented value thumbnails * options_menu: use config ptrs as thumbnail keys, added named thumbnails * options_menu_thumbnails: move header to cpp
This commit is contained in:
@@ -1550,7 +1550,7 @@ static void BeginCommandList()
|
||||
|
||||
if (g_swapChainValid)
|
||||
{
|
||||
bool applyingGammaCorrection = Config::XboxColourCorrection || abs(Config::Brightness - 0.5f) > 0.001f;
|
||||
bool applyingGammaCorrection = Config::XboxColorCorrection || abs(Config::Brightness - 0.5f) > 0.001f;
|
||||
|
||||
if (applyingGammaCorrection)
|
||||
{
|
||||
@@ -2068,7 +2068,7 @@ static void ProcPresent(const RenderCommand& cmd)
|
||||
uint32_t textureDescriptorIndex;
|
||||
} constants;
|
||||
|
||||
if (Config::XboxColourCorrection)
|
||||
if (Config::XboxColorCorrection)
|
||||
{
|
||||
constants.gammaR = 1.2f;
|
||||
constants.gammaG = 1.17f;
|
||||
|
||||
Reference in New Issue
Block a user