Shut up another warning
This commit is contained in:
parent
394d5658a4
commit
01c5fb3a37
1 changed files with 3 additions and 0 deletions
|
@ -260,6 +260,9 @@ unsigned char* AudioBackend_LockSound(AudioBackend_Sound *sound, size_t *size)
|
|||
|
||||
void AudioBackend_UnlockSound(AudioBackend_Sound *sound)
|
||||
{
|
||||
if (sound == NULL)
|
||||
return;
|
||||
|
||||
SDL_UnlockAudioDevice(device_id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue