X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcontext.cpp;h=847680a20a338c7439be2beb3fed0a3f54a081b7;hb=58dc1e7c15f928d0f861a20c46f2be4112bf5baf;hp=aa316fd89e49dcb64b0909c1be74de3d76aafa21;hpb=35ea5cc8d1eb8c806885d27441548f630e7b1266;p=libs%2Fal.git diff --git a/source/context.cpp b/source/context.cpp index aa316fd..847680a 100644 --- a/source/context.cpp +++ b/source/context.cpp @@ -2,7 +2,7 @@ This file is part of libmspal Copyright © 2008 Mikko Rasa, Mikkosoft Productions -Diestributed under the LGPL +Distributed under the LGPL */ #include @@ -21,5 +21,10 @@ Context::Context(Device &dev) alcMakeContextCurrent(context); } +Context::~Context() +{ + alcDestroyContext(context); +} + } // namespace AL } // namespace Msp