mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 03:00:38 +00:00
Don't process the SDL_mixer effect if we're not done initializing.
git-svn-id: https://svn.eduke32.com/eduke32@1585 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9642d027d3
commit
00fcc1851d
1 changed files with 5 additions and 2 deletions
|
@ -66,6 +66,9 @@ static void fillData(int32_t chan, void *ptr, int32_t remaining, void *udata)
|
|||
UNREFERENCED_PARAMETER(chan);
|
||||
UNREFERENCED_PARAMETER(udata);
|
||||
|
||||
if (!MixBuffer || !MixCallBack)
|
||||
return;
|
||||
|
||||
SDL_LockMutex(EffectFence);
|
||||
|
||||
while (remaining > 0) {
|
||||
|
|
Loading…
Reference in a new issue