mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Correctly use alcGetIntegerv.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user