From 0fbc05b96ca9b464b273d64349d9a7940a0c992b Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Thu, 26 Jun 2014 22:36:57 +0200 Subject: Fix test compilation --- src/graphics/core/vertex.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/graphics/core/vertex.h') diff --git a/src/graphics/core/vertex.h b/src/graphics/core/vertex.h index c3a657a..ca68352 100644 --- a/src/graphics/core/vertex.h +++ b/src/graphics/core/vertex.h @@ -82,7 +82,9 @@ struct VertexCol Math::Vector coord; Color color; - explicit VertexCol(Math::Vector aCoord = Math::Vector(), + VertexCol() = default; + + explicit VertexCol(Math::Vector aCoord, Color aColor = Color()) : coord(aCoord), color(aColor) {} -- cgit v1.2.3-1-g7c22