Merge pull request #2382 from jpark37/mac-linker-fix

libobs: Fix Mac linker error
This commit is contained in:
Jim 2020-02-07 18:19:37 -08:00 committed by GitHub
commit e73e76048e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ struct half {
}; };
/* adapted from DirectXMath XMConvertFloatToHalf */ /* adapted from DirectXMath XMConvertFloatToHalf */
inline struct half half_from_float(float f) static struct half half_from_float(float f)
{ {
uint32_t Result; uint32_t Result;
@ -90,7 +90,7 @@ inline struct half half_from_float(float f)
return h; return h;
} }
inline struct half half_from_bits(uint16_t u) static struct half half_from_bits(uint16_t u)
{ {
struct half h; struct half h;
h.u = u; h.u = u;