mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2024-12-23 00:25:26 +00:00
Fix EffectsExtension for lower-level TK.
This commit is contained in:
parent
3ce41e80ac
commit
5b575f02a0
|
@ -1241,6 +1241,7 @@ namespace OpenTK.Audio.OpenAL
|
||||||
{
|
{
|
||||||
_valid = false;
|
_valid = false;
|
||||||
|
|
||||||
|
/* flibit commented this out. It's obsolete!
|
||||||
if (AudioContext.CurrentContext == null)
|
if (AudioContext.CurrentContext == null)
|
||||||
throw new InvalidOperationException("AL.LoadAll() needs a current AudioContext.");
|
throw new InvalidOperationException("AL.LoadAll() needs a current AudioContext.");
|
||||||
|
|
||||||
|
@ -1250,6 +1251,7 @@ namespace OpenTK.Audio.OpenAL
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Console.WriteLine("ALC_EXT_EFX found. Efx can be used.");
|
// Console.WriteLine("ALC_EXT_EFX found. Efx can be used.");
|
||||||
|
*/
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue