summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a994894)
raw | patch | inline | side by side (parent: a994894)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Tue, 24 Mar 2020 14:26:33 +0000 (17:26 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Tue, 24 Mar 2020 14:26:33 +0000 (17:26 +0300) |
src/openal/sound.c | patch | blob | history |
diff --git a/src/openal/sound.c b/src/openal/sound.c
index 9dfca1919e106311a6c894bc3a3a0d656b229492..fc1e60ab43b37acfeccea68b4c86a26eef80e3a4 100644 (file)
--- a/src/openal/sound.c
+++ b/src/openal/sound.c
ALint h;
openal_snd *snd = (openal_snd*)s;
if (snd != NULL) {
- assert(snd->base.tag = TAG_OAL1);
+ assert(snd->base.tag == TAG_OAL1);
if (context != NULL) {
for (i = 0; i < MAX_CHANNELS; i++) {
alGetSourcei(sources[i], AL_BUFFER, &h);