From: Daniel Karbach Date: Sat, 19 Sep 2015 11:26:41 +0000 (+0200) Subject: initialize Audio::last_free X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=713404410d1a11883afaba3b6b844033983ec27e;p=blank.git initialize Audio::last_free oops --- diff --git a/src/audio/audio.cpp b/src/audio/audio.cpp index 426745f..93569f0 100644 --- a/src/audio/audio.cpp +++ b/src/audio/audio.cpp @@ -48,7 +48,8 @@ ALError::ALError(ALenum num, const std::string &msg) } -Audio::Audio() { +Audio::Audio() +: last_free(0) { alGenSources(NUM_SRC, source); ALenum err = alGetError(); if (err != AL_NO_ERROR) {