mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- fixed - menudef was not detecting properly the presence of OpenAL
This commit is contained in:
parent
6f3bbcba46
commit
a2b7aa18d1
1 changed files with 8 additions and 0 deletions
|
@ -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(")");
|
||||
|
|
Loading…
Reference in a new issue