mirror of
https://github.com/love2d/love.git
synced 2026-08-17 02:58:31 +02:00
Reduced the number of explicit retain/release method calls on love objects. Less chance of bugs!
This commit is contained in:
@@ -148,7 +148,7 @@ private:
|
||||
static const unsigned int MAX_BUFFERS = 32;
|
||||
ALuint streamBuffers[MAX_BUFFERS];
|
||||
|
||||
StaticDataBuffer *staticBuffer;
|
||||
Object::StrongRef<StaticDataBuffer> staticBuffer;
|
||||
|
||||
float pitch;
|
||||
float volume;
|
||||
@@ -182,7 +182,7 @@ private:
|
||||
|
||||
int channels;
|
||||
|
||||
love::sound::Decoder *decoder;
|
||||
Object::StrongRef<love::sound::Decoder> decoder;
|
||||
|
||||
unsigned int toLoop;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user