aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-15 06:03:35 -0700
committerChris Robinson <[email protected]>2019-07-16 16:04:56 -0700
commitffc7258cbcce7db603dcc5978020f042d3f7ebf7 (patch)
tree7c39c7f847eb4def116ed3168f9ea04d0a5441fb
parent8a9e72109ec5e5dbaa6324713e781d7739a2db51 (diff)
Remove an unused lambda capture
-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;