mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
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:
parent
3ed1459568
commit
8450413105
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user