Fix EffectsExtension for lower-level TK.

This commit is contained in:
Ethan Lee 2013-10-27 15:25:47 -04:00
parent 3ce41e80ac
commit 5b575f02a0

View file

@ -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
{ {