mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 02:25:32 -04:00
Fix OpenAL audio backend not compiling
This commit is contained in:
parent
8c5cd2f303
commit
015b56f71d
@ -270,7 +270,7 @@ cc_result Audio_IsFinished(struct AudioContext* ctx, cc_bool* finished) {
|
|||||||
cc_result res;
|
cc_result res;
|
||||||
|
|
||||||
if (ctx->source == -1) { *finished = true; return 0; }
|
if (ctx->source == -1) { *finished = true; return 0; }
|
||||||
res = Audio_AllAvailable(handle, finished);
|
res = Audio_AllAvailable(ctx, finished);
|
||||||
if (res) return res;
|
if (res) return res;
|
||||||
|
|
||||||
_alGetSourcei(ctx->source, AL_SOURCE_STATE, &state);
|
_alGetSourcei(ctx->source, AL_SOURCE_STATE, &state);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user