The "max" function has the parameters in the reverse order, fixes #86 not booting up

Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
This commit is contained in:
Alexis Maiquez Murcia 2022-04-07 20:45:19 +02:00
parent 3ed1459568
commit 8450413105

View File

@ -459,6 +459,7 @@ namespace WallpaperEngine::Render::Shaders
"#define mediump\n"
"#define lowp\n"
"#define mul(x, y) (y * x)\n"
"#define max(x, y) max (y, x)\n"
"#define frac fract\n"
"#define CAST2(x) (vec2(x))\n"
"#define CAST3(x) (vec3(x))\n"