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