Fixed leaks in:
- Expanding description strings.
- Loading shader-based materials.
- Loading smallish sounds (Mac OS X only).
- A JavaScript implementation support method used primarily in logging.
Moderators: winston, another_commander
Obviously, the above message was written while the inestimable Commander's brain was fair floating in Christmas Beer!TGHC wrote:Excellent, wd and a spcial hapy xmas to you
Code: Select all
Sound.playMusic("name.ogg") // If name.ogg is already playing, does nothing. Otherwise, stops currently playing music (if any) and starts name.ogg.
Sound.stopMusic("name.ogg") // stops only if name.ogg is playing
Sound.stopMusic() // stops any playing music