mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
fix: added log10 macro
This commit is contained in:
parent
e2adad329b
commit
c41cac19fb
@ -90,6 +90,7 @@ void CCompiler::compile () {
|
||||
"#define saturate(x) (clamp(x, 0.0, 1.0))\n"
|
||||
"#define texSample2D texture\n"
|
||||
"#define texSample2DLod textureLod\n"
|
||||
"#define log10(x) log2(x) * 0.301029995663981\n"
|
||||
"#define atan2 atan\n"
|
||||
"#define fmod(x, y) ((x)-(y)*trunc((x)/(y)))\n"
|
||||
"#define ddx dFdx\n"
|
||||
|
Loading…
Reference in New Issue
Block a user