Minor menu tweaks and display the vulkan device name in the menus

This commit is contained in:
Magnus Norddahl 2023-10-15 15:23:23 +02:00
commit 9bcef148bf
5 changed files with 26 additions and 10 deletions

View file

@ -66,7 +66,7 @@ PClass *DefaultOptionMenuClass;
void I_BuildALDeviceList(FOptionValues *opt);
void I_BuildALResamplersList(FOptionValues *opt);
void I_BuildVKDeviceList(FOptionValues *opt);
DEFINE_GLOBAL_NAMED(OptionSettings, OptionMenuSettings)
@ -1682,6 +1682,11 @@ void M_CreateMenus()
{
I_BuildALResamplersList(*opt);
}
opt = OptionValues.CheckKey(NAME_Vkdevices);
if (opt != nullptr)
{
I_BuildVKDeviceList(*opt);
}
}