Move _NOSSE_MatrixMultVec4x4 declaration in matrix.h
instead of inside a function in gfx3d.cpp. The _ suggests it was meant to be in someway private but it's already used outside matrix.cpp.
This commit is contained in:
parent
c1b4ad4ea2
commit
87f422bf6f
|
@ -1478,7 +1478,6 @@ static BOOL gfx3d_glBoxTest(u32 v)
|
||||||
//yuck.. cant use the sse2 accelerated ones because vert.coords is not cache aligned or something
|
//yuck.. cant use the sse2 accelerated ones because vert.coords is not cache aligned or something
|
||||||
//i dunno
|
//i dunno
|
||||||
|
|
||||||
void _NOSSE_MatrixMultVec4x4 (const float *matrix, float *vecPtr);
|
|
||||||
_NOSSE_MatrixMultVec4x4(mtxCurrent[1],verts[i].coord);
|
_NOSSE_MatrixMultVec4x4(mtxCurrent[1],verts[i].coord);
|
||||||
_NOSSE_MatrixMultVec4x4(mtxCurrent[0],verts[i].coord);
|
_NOSSE_MatrixMultVec4x4(mtxCurrent[0],verts[i].coord);
|
||||||
}
|
}
|
||||||
|
|
|
@ -147,6 +147,9 @@ static FORCEINLINE void memset_u16_le(void* dst, u16 val)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// NOSSE version always used in gfx3d.cpp
|
||||||
|
void _NOSSE_MatrixMultVec4x4 (const float *matrix, float *vecPtr);
|
||||||
|
|
||||||
//---------------------------
|
//---------------------------
|
||||||
//switched SSE functions
|
//switched SSE functions
|
||||||
#ifdef ENABLE_SSE
|
#ifdef ENABLE_SSE
|
||||||
|
|
Loading…
Reference in New Issue