- fixed - menudef was not detecting properly the presence of OpenAL

This commit is contained in:
Rachael Alexanderson 2020-01-26 18:42:40 -05:00
parent 6f3bbcba46
commit a2b7aa18d1

View file

@ -67,6 +67,8 @@ void I_BuildMIDIMenuList(FOptionValues* opt);
void I_BuildALDeviceList(FOptionValues *opt);
void I_BuildALResamplersList(FOptionValues* opt);
bool IsOpenALPresent();
void M_DeinitMenus()
{
{
@ -221,6 +223,12 @@ static bool CheckSkipOptionBlock(FScanner &sc)
filter = true;
#endif
}
if (sc.Compare("openal"))
{
if (IsOpenALPresent())
filter = true;
}
}
while (sc.CheckString(","));
sc.MustGetStringName(")");