aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/vertex.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-11-17 23:44:00 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-11-17 23:44:00 +0000
commitf7791709745e6c8b82ff95629f597493aff6613a (patch)
treefb8cf829601a709eabb7e520464431a98c056af3 /yage/core/vertex.h
parent186279ee1ee54f2cdf619f4740679bb0d8b74db4 (diff)
downloadYAGE-f7791709745e6c8b82ff95629f597493aff6613a.tar.gz
YAGE-f7791709745e6c8b82ff95629f597493aff6613a.zip
more tests added
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_)