aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-04-16 22:13:39 -0700
committerChris Robinson <[email protected]>2012-04-16 22:13:39 -0700
commitd7ba49ea6230322d1dee7da263f1d57e8153d895 (patch)
tree6807959d3c81e9f6f25b3d6248eb183d26bd30a9
parente47557630eded79f5b15ec78f646542301ba705c (diff)
Clear the position fraction when setting a new source offset
-rw-r--r--OpenAL32/alSource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 2c0bc427..05adb394 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -2096,6 +2096,7 @@ ALboolean ApplyOffset(ALsource *Source)
// SW Mixer Positions are in Samples
Source->position = offset - totalBufferLen;
+ Source->position_fraction = 0;
return AL_TRUE;
}