提交 07e76816 编写于 作者: M Matt Pharr

Attempt to fix build

上级 c7ad60a4
......@@ -1180,17 +1180,9 @@ PBRT_CPU_GPU inline double round(double arg) {
PBRT_CPU_GPU inline float fmod(float x, float y) {
#ifdef PBRT_IS_GPU_CODE
return ::fmodf(arg);
return ::fmodf(x, y);
#else
return std::fmodf(x, y);
#endif
}
PBRT_CPU_GPU inline float fmodf(float x, float y) {
#ifdef PBRT_IS_GPU_CODE
return ::fmodf(arg);
#else
return std::fmodf(x, y);
return std::fmod(x, y);
#endif
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册