mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-26 20:31:41 +00:00
Specialize description for resolution scale by reference.
This commit is contained in:
parent
6a2bf9162c
commit
70513985a7
1 changed files with 1 additions and 1 deletions
|
|
@ -943,7 +943,7 @@ static void DrawInfoPanel()
|
|||
else
|
||||
{
|
||||
// Specialised description for resolution scale
|
||||
if (g_selectedItem->GetName() == "ResolutionScale")
|
||||
if (g_selectedItem == &Config::ResolutionScale)
|
||||
{
|
||||
char buf[100];
|
||||
auto resScale = round(*(float*)g_selectedItem->GetValue() * 1000) / 1000;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue