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:
riccardom 2009-12-28 14:08:01 +00:00
parent c1b4ad4ea2
commit 87f422bf6f
2 changed files with 3 additions and 1 deletions

View File

@ -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);
} }

View File

@ -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