Compile with NAN_NO_KETSJI kept giving me errors with OpenAL.
authorTon Roosendaal <ton@blender.org>
Fri, 29 Apr 2005 17:36:30 +0000 (17:36 +0000)
committerTon Roosendaal <ton@blender.org>
Fri, 29 Apr 2005 17:36:30 +0000 (17:36 +0000)
   undefined reference to SND_OpenALDevice::SND_OpenALDevice

I hacked c++ code in the dummy function wich worked! Now test it! :)

intern/SoundSystem/dummy/SND_DummyDevice.cpp

index 820c151377a6ce617f30ceaf41831c71df6ed363..67608cc99443d0b35916b2ebac60a27a417f6589 100644 (file)
@@ -45,7 +45,15 @@ SND_DummyDevice::SND_DummyDevice()
 {
 }
 
+class SND_OpenALDevice : public SND_AudioDevice
+{
+public:
+       SND_OpenALDevice();
+};
 
+SND_OpenALDevice::SND_OpenALDevice()
+{
+}      
 
 SND_DummyDevice::~SND_DummyDevice()
 {