X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect.h;h=9d4f247632449cbb2cccaf44000d75343b4b147c;hp=ecdd95a455320ed9625e170752b39967a1495c4c;hb=1cc8eb50a9dbd0ef6c187a57ded6364215367cb5;hpb=5df87586a23c6287d00014c781beba3be8297eb4 diff --git a/effect.h b/effect.h index ecdd95a..9d4f247 100644 --- a/effect.h +++ b/effect.h @@ -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;