X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect.h;h=9d4f247632449cbb2cccaf44000d75343b4b147c;hp=78845094196ccb92ea59df679f05c8f0179c7a59;hb=d41e82b7cc456c945dbc460b2ffdc13a80f6505f;hpb=ac4fc36aa70ffefb6b9632dc0abea5cbbce5387b diff --git a/effect.h b/effect.h index 7884509..9d4f247 100644 --- a/effect.h +++ b/effect.h @@ -16,7 +16,7 @@ #include #include -#include "util.h" +#include "defs.h" class EffectChain; class Node; @@ -38,8 +38,8 @@ struct RGBTriplet { }; // Can alias on a float[4]. -struct RGBATriplet { - RGBATriplet(float r, float g, float b, float a) +struct RGBATuple { + RGBATuple(float r, float g, float b, float a) : r(r), g(g), b(b), a(a) {} float r, g, b, a;