summaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-11-25 23:09:18 -0800
committerChris Robinson <[email protected]>2010-11-25 23:09:18 -0800
commite1c0b5ea24bbe2db24cf4f81a708d4d565d37f78 (patch)
tree1fb5cd209a2d57a07e6bdedaf392a8faf797edbe /OpenAL32/alSource.c
parent30820c1bdeadb49b4eeb44d46e3b472460cdd53a (diff)
Call MixSource directly, instead of through a function pointer
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 4182ee15..0e1e7eb7 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -560,8 +560,6 @@ AL_API ALvoid AL_APIENTRY alSourcei(ALuint source,ALenum eParam,ALint lValue)
else
Source->Update = CalcNonAttnSourceParams;
- Source->Mix = MixSource;
-
// Increment reference counter for buffer
buffer->refcount++;
}
@@ -1602,8 +1600,6 @@ AL_API ALvoid AL_APIENTRY alSourceQueueBuffers(ALuint source, ALsizei n, const A
else
Source->Update = CalcNonAttnSourceParams;
- Source->Mix = MixSource;
-
Source->NeedsUpdate = AL_TRUE;
}
else if(Frequency != buffer->frequency || Format != buffer->eOriginalFormat)