mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-14 11:50:49 +00:00
- add some 21:9 presets
This commit is contained in:
parent
3f30d91323
commit
47f0370512
2 changed files with 4 additions and 1 deletions
|
@ -199,7 +199,7 @@ using namespace Blood;
|
||||||
DEFINE_ACTION_FUNCTION(DListMenuItemBloodDripDrawer, Draw)
|
DEFINE_ACTION_FUNCTION(DListMenuItemBloodDripDrawer, Draw)
|
||||||
{
|
{
|
||||||
// For narrow screens this would be mispositioned so skip drawing it there.
|
// For narrow screens this would be mispositioned so skip drawing it there.
|
||||||
double ratio = screen->GetWidth() / double(screen->GetHeight());
|
double ratio = ActiveRatio(screen->GetWidth(), screen->GetHeight());
|
||||||
if (ratio > 1.32) itemBloodQAV->Draw();
|
if (ratio > 1.32) itemBloodQAV->Draw();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1541,6 +1541,9 @@ OptionMenu CustomResolutionMenu protected
|
||||||
Command "1440x900", "menu_resolution_set_custom 1440 900"
|
Command "1440x900", "menu_resolution_set_custom 1440 900"
|
||||||
Command "1680x1050", "menu_resolution_set_custom 1680 1050"
|
Command "1680x1050", "menu_resolution_set_custom 1680 1050"
|
||||||
Command "1920x1200", "menu_resolution_set_custom 1920 1200"
|
Command "1920x1200", "menu_resolution_set_custom 1920 1200"
|
||||||
|
StaticText "$VIDMNU_ASPECT219"
|
||||||
|
Command "1920x810", "menu_resolution_set_custom 1920 810"
|
||||||
|
Command "2560x1080", "menu_resolution_set_custom 2560 1080"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue