mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Merged in TannerRogalsky/love/source_relative_bug_fix (pull request #54)
Source:setRelative bug fix
This commit is contained in:
@@ -574,7 +574,7 @@ void Source::setRelative(bool enable)
|
||||
throw SpatialSupportException();
|
||||
|
||||
if (valid)
|
||||
alSourcei(source, AL_SOURCE_RELATIVE, relative ? AL_TRUE : AL_FALSE);
|
||||
alSourcei(source, AL_SOURCE_RELATIVE, enable ? AL_TRUE : AL_FALSE);
|
||||
|
||||
relative = enable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user