Revision: 20224
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20224
Author:   blendix
Date:     2009-05-16 14:56:09 +0200 (Sat, 16 May 2009)

Log Message:
-----------
* Fix for another OpenAL compile error on MSVC.

Modified Paths:
--------------
    trunk/blender/intern/SoundSystem/openal/SND_OpenALDevice.cpp

Modified: trunk/blender/intern/SoundSystem/openal/SND_OpenALDevice.cpp
===================================================================
--- trunk/blender/intern/SoundSystem/openal/SND_OpenALDevice.cpp        
2009-05-16 11:38:13 UTC (rev 20223)
+++ trunk/blender/intern/SoundSystem/openal/SND_OpenALDevice.cpp        
2009-05-16 12:56:09 UTC (rev 20224)
@@ -645,7 +645,11 @@
     int alstate = 0;
        int result = 0;
 
+#ifdef __APPLE__
        alGetSourcei(m_sources[id], AL_SOURCE_STATE, &alstate);
+#else
+       alGetSourceiv(m_sources[id], AL_SOURCE_STATE, &alstate);
+#endif
        
        switch(alstate)
        {


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to