aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenAL32/alSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.cpp b/OpenAL32/alSource.cpp
index c3866d1f..498875bf 100644
--- a/OpenAL32/alSource.cpp
+++ b/OpenAL32/alSource.cpp
@@ -2770,7 +2770,7 @@ START_API_FUNC
{
/* TODO: Send state change event? */
std::for_each(srchandles, srchandles+n,
- [&context](ALsource *source) -> void
+ [](ALsource *source) -> void
{
source->OffsetType = AL_NONE;
source->Offset = 0.0;