mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Correctly use alcGetIntegerv.
This commit is contained in:
parent
638ea3111f
commit
e6df927e30
1 changed files with 1 additions and 1 deletions
|
@ -524,7 +524,7 @@ void Instance::Inner::timeout() {
|
|||
return;
|
||||
}
|
||||
ALint samples;
|
||||
alcGetIntegerv(d->device, ALC_CAPTURE_SAMPLES, sizeof(samples), &samples);
|
||||
alcGetIntegerv(d->device, ALC_CAPTURE_SAMPLES, 1, &samples);
|
||||
if (ErrorHappened(d->device)) {
|
||||
fail();
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue