Fix the initial device refcount
This commit is contained in:
parent
aef52be432
commit
ef7995cfd0
@ -573,7 +573,7 @@ typedef struct RealMixParams {
|
||||
typedef void (*POSTPROCESS)(ALCdevice *device, ALsizei SamplesToDo);
|
||||
|
||||
struct ALCdevice_struct {
|
||||
RefCount ref{0u};
|
||||
RefCount ref{1u};
|
||||
|
||||
ATOMIC(ALenum) Connected{AL_TRUE};
|
||||
DeviceType Type{};
|
||||
|
Loading…
x
Reference in New Issue
Block a user