Don't throw AL_INVALID_ENUM for alSourcefv(s, AL_DIRECTION, ...).
authorRyan C. Gordon <icculus@icculus.org>
Fri, 18 May 2012 20:51:42 -0400
changeset 92 300ace4f9450
parent 91 6f0577159195
child 93 ce434a210f60
Don't throw AL_INVALID_ENUM for alSourcefv(s, AL_DIRECTION, ...).

We do this for alSource3f(), too.
osx/alSource.c
--- a/osx/alSource.c	Sat Dec 04 00:28:30 2010 -0500
+++ b/osx/alSource.c	Fri May 18 20:51:42 2012 -0400
@@ -384,6 +384,9 @@
                 } // if
                 break;
 
+            case AL_DIRECTION:
+                break;  // !!! FIXME: not supported right now.
+
             default:
                 __alSetError(AL_INVALID_ENUM);
                 break;