[Bf-committers] CVS commit: blender/source/gameengine/SoundSystem/openal SND_OpenALDevice.cpp

Unprivileged User bf-committers@blender.org
Fri, 20 Dec 2002 20:27:39 +0100 (CET)


nobody      2002/12/20 20:27:39 CET

  Modified files:
    blender/source/gameengine/SoundSystem/openal 
                                                 SND_OpenALDevice.cpp 
  
  Log:
  Shrunk the hack so it didn't get used in newer versions of OpenAL which
  seems to be working.
  
  Kent
  
  (diff follows)
  
  Index: SND_OpenALDevice.cpp
  ===================================================================
  RCS file: /cvs01/blender/source/gameengine/SoundSystem/openal/SND_OpenALDevice.cpp,v
  retrieving revision 1.4
  diff -u -r1.4 SND_OpenALDevice.cpp
  --- SND_OpenALDevice.cpp        2002/11/25 15:29:57     1.4
  +++ SND_OpenALDevice.cpp        2002/12/20 19:26:04
  @@ -59,7 +59,7 @@
   #include <fcntl.h>
  
   /* untill openal gets unified we need this hack for non-windows systems */
  -#ifndef WIN32
  +#if !defined(WIN32) && !defined(ALC_MAJOR_VERSION)
  
  Revision  Changes    Path
  1.5       +2 -2      blender/source/gameengine/SoundSystem/openal/SND_OpenALDevice.cpp