aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/vertex.h
diff options
context:
space:
mode:
Diffstat (limited to 'yage/core/vertex.h')
-rw-r--r--yage/core/vertex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/yage/core/vertex.h b/yage/core/vertex.h
index da3c2bfa..f81b4f42 100644
--- a/yage/core/vertex.h
+++ b/yage/core/vertex.h
@@ -29,7 +29,7 @@ struct Colour {
GLubyte b;
GLubyte a;
- Colour() = default;
+ Colour() : r(0), g(0), b(0), a(0) {}
Colour(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)
: r(r_), g(g_), b(b_), a(a_)