d3dx9: Improve traces for D3DXSHMultiply2/3().
This commit is contained in:
parent
3e24dc642b
commit
effdcf98d6
|
@ -2306,11 +2306,11 @@ HRESULT WINAPI D3DXSHEvalDirectionalLight(UINT order, CONST D3DXVECTOR3 *dir, FL
|
|||
return D3D_OK;
|
||||
}
|
||||
|
||||
FLOAT* WINAPI D3DXSHMultiply2(FLOAT *out, CONST FLOAT *a, CONST FLOAT *b)
|
||||
FLOAT * WINAPI D3DXSHMultiply2(FLOAT *out, const FLOAT *a, const FLOAT *b)
|
||||
{
|
||||
FLOAT ta, tb;
|
||||
|
||||
TRACE("(%p, %p, %p)\n", out, a, b);
|
||||
TRACE("out %p, a %p, b %p\n", out, a, b);
|
||||
|
||||
ta = 0.28209479f * a[0];
|
||||
tb = 0.28209479f * b[0];
|
||||
|
@ -2323,11 +2323,11 @@ FLOAT* WINAPI D3DXSHMultiply2(FLOAT *out, CONST FLOAT *a, CONST FLOAT *b)
|
|||
return out;
|
||||
}
|
||||
|
||||
FLOAT* WINAPI D3DXSHMultiply3(FLOAT *out, CONST FLOAT *a, CONST FLOAT *b)
|
||||
FLOAT * WINAPI D3DXSHMultiply3(FLOAT *out, const FLOAT *a, const FLOAT *b)
|
||||
{
|
||||
FLOAT t, ta, tb;
|
||||
|
||||
TRACE("(%p, %p, %p)\n", out, a, b);
|
||||
TRACE("out %p, a %p, b %p\n", out, a, b);
|
||||
|
||||
out[0] = 0.28209479f * a[0] * b[0];
|
||||
|
||||
|
|
Loading…
Reference in New Issue