未验证 提交 e73e7604 编写于 作者: J Jim 提交者: GitHub

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

libobs: Fix Mac linker error
......@@ -51,7 +51,7 @@ struct half {
};
/* adapted from DirectXMath XMConvertFloatToHalf */
inline struct half half_from_float(float f)
static struct half half_from_float(float f)
{
uint32_t Result;
......@@ -90,7 +90,7 @@ inline struct half half_from_float(float f)
return h;
}
inline struct half half_from_bits(uint16_t u)
static struct half half_from_bits(uint16_t u)
{
struct half h;
h.u = u;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册