dsound: If 3d sound is disabled, just return (Coverity).
This commit is contained in:
parent
f16cf54106
commit
a83e8e88ea
|
@ -177,7 +177,7 @@ void DSOUND_Calc3DBuffer(IDirectSoundBufferImpl *dsb)
|
||||||
TRACE("3D processing disabled\n");
|
TRACE("3D processing disabled\n");
|
||||||
/* this one is here only to eliminate annoying warning message */
|
/* this one is here only to eliminate annoying warning message */
|
||||||
DSOUND_RecalcVolPan (&dsb->volpan);
|
DSOUND_RecalcVolPan (&dsb->volpan);
|
||||||
break;
|
return;
|
||||||
case DS3DMODE_NORMAL:
|
case DS3DMODE_NORMAL:
|
||||||
TRACE("Normal 3D processing mode\n");
|
TRACE("Normal 3D processing mode\n");
|
||||||
/* we need to calculate distance between buffer and listener*/
|
/* we need to calculate distance between buffer and listener*/
|
||||||
|
|
Loading…
Reference in New Issue