Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2011-07-12 17:11:00 +0400
committerJoerg Mueller <nexyon@gmail.com>2011-07-12 17:11:00 +0400
commit208b69e3a71573453c7dc0e5b12785052233b4e1 (patch)
tree03ffad7c0a854fa4c3ae2e33c1398129b28a190c /intern/audaspace/OpenAL
parentd9cf98573050fa10f586ed121f514986e688e609 (diff)
3D Audio GSoC:
Software 3D Audio implementation.
Diffstat (limited to 'intern/audaspace/OpenAL')
-rw-r--r--intern/audaspace/OpenAL/AUD_OpenALDevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/audaspace/OpenAL/AUD_OpenALDevice.cpp b/intern/audaspace/OpenAL/AUD_OpenALDevice.cpp
index c36f29aa179..3b306d89d7b 100644
--- a/intern/audaspace/OpenAL/AUD_OpenALDevice.cpp
+++ b/intern/audaspace/OpenAL/AUD_OpenALDevice.cpp
@@ -492,10 +492,10 @@ bool AUD_OpenALDevice::AUD_OpenALHandle::setSourceOrientation(const AUD_Quaterni
bool AUD_OpenALDevice::AUD_OpenALHandle::isRelative()
{
- int result = std::numeric_limits<float>::quiet_NaN();
+ int result;
if(!m_status)
- return result;
+ return false;
m_device->lock();