mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
- fixed option menu positioning.
This commit is contained in:
parent
ab5bc0e435
commit
67a0954c32
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ void DrawOptionText(int x, int y, int color, const char *text, bool grayed)
|
|||
|
||||
int DOptionMenu::GetPosition()
|
||||
{
|
||||
return mDesc->mPosition * screen->GetHeight() / 1080; // y position uses a 1920x1080 screen as reference but has to adjust to scaled 320x200 content.
|
||||
return mDesc->mPosition * screen->GetHeight() * 2 / CleanYfac_1 / 1080; // y position uses a 1920x1080 screen as reference but has to adjust to scaled 320x200 content.
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
|
Loading…
Reference in a new issue