Hopefully fixed compilation when VS2013 is used...

This commit is contained in:
Alex Szpakowski
2015-08-05 01:51:08 -03:00
parent 54f2617849
commit 68bb0c97bc
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -134,6 +134,14 @@ public:
{
bool r, g, b, a;
ColorMask()
: r(true), g(true), b(true), a(true)
{}
ColorMask(bool _r, bool _g, bool _b, bool _a)
: r(_r), g(_g), b(_b), a(_a)
{}
bool operator == (const ColorMask &m) const
{
return r == m.r && g == m.g && b == m.b && a == m.a;
+1 -1
View File
@@ -487,7 +487,7 @@ private:
std::vector<StrongRef<Canvas>> canvases;
ColorMask colorMask = {true, true, true, true};
ColorMask colorMask = ColorMask(true, true, true, true);
bool wireframe = false;