dsound: If 3d sound is disabled, just return (Coverity).

This commit is contained in:
Marcus Meissner 2015-03-01 14:04:56 +01:00 committed by Alexandre Julliard
parent f16cf54106
commit a83e8e88ea
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ void DSOUND_Calc3DBuffer(IDirectSoundBufferImpl *dsb)
TRACE("3D processing disabled\n");
/* this one is here only to eliminate annoying warning message */
DSOUND_RecalcVolPan (&dsb->volpan);
break;
return;
case DS3DMODE_NORMAL:
TRACE("Normal 3D processing mode\n");
/* we need to calculate distance between buffer and listener*/