mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +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