mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-15 21:17:00 -04:00
libobs: Add "static" to inline func
Fixes linux-specific compiler error: libobs/libobs.so.0: undefined reference to `hmax_ps'
This commit is contained in:
@@ -302,7 +302,7 @@ static inline __m128 abs_ps(__m128 v)
|
||||
|
||||
/* x4(d, c, b, a) --> max(a, b, c, d)
|
||||
*/
|
||||
inline float hmax_ps(__m128 x4)
|
||||
static inline float hmax_ps(__m128 x4)
|
||||
{
|
||||
float x4_mem[4];
|
||||
_mm_store_ps(x4_mem, x4);
|
||||
|
||||
Reference in New Issue
Block a user