From 36609d44e0519b3f2203f7b7be626df14a579fb8 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 23 Oct 2014 18:07:43 +0000 Subject: [PATCH] [DSOUND] * ProjectVector is used in commented out code. svn path=/trunk/; revision=64932 --- reactos/dll/directx/wine/dsound/sound3d.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/dll/directx/wine/dsound/sound3d.c b/reactos/dll/directx/wine/dsound/sound3d.c index d5ea87f5598..d95447a7f06 100644 --- a/reactos/dll/directx/wine/dsound/sound3d.c +++ b/reactos/dll/directx/wine/dsound/sound3d.c @@ -121,6 +121,7 @@ static inline D3DVECTOR VectorBetweenTwoPoints (const D3DVECTOR *a, const D3DVEC return c; } +#ifndef __REACTOS__ /* calculates the length of vector's projection on another vector */ static inline D3DVALUE ProjectVector (const D3DVECTOR *a, const D3DVECTOR *p) { @@ -131,6 +132,7 @@ static inline D3DVALUE ProjectVector (const D3DVECTOR *a, const D3DVECTOR *p) p->y, p->z, result); return result; } +#endif /******************************************************************************* * 3D Buffer and Listener mixing