mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Reduced the number of explicit retain/release method calls on love objects. Less chance of bugs!
This commit is contained in:
@@ -117,7 +117,7 @@ bool WaveDecoder::accepts(const std::string &ext)
|
||||
|
||||
love::sound::Decoder *WaveDecoder::clone()
|
||||
{
|
||||
return new WaveDecoder(data, ext, bufferSize);
|
||||
return new WaveDecoder(data.get(), ext, bufferSize);
|
||||
}
|
||||
|
||||
int WaveDecoder::decode()
|
||||
|
||||
Reference in New Issue
Block a user