summaryrefslogtreecommitdiffstats
path: root/src/graphics
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2014-06-26 22:36:57 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2014-06-26 22:36:57 +0200
commit0fbc05b96ca9b464b273d64349d9a7940a0c992b (patch)
treeb33a246fa6bf85bc3f01a1de00cc4fe0555921c0 /src/graphics
parent092e7cc68de3d4e46505a2931ce266b4e5aabaab (diff)
downloadcolobot-0fbc05b96ca9b464b273d64349d9a7940a0c992b.tar.gz
colobot-0fbc05b96ca9b464b273d64349d9a7940a0c992b.tar.bz2
colobot-0fbc05b96ca9b464b273d64349d9a7940a0c992b.zip
Fix test compilation
Diffstat (limited to 'src/graphics')
-rw-r--r--src/graphics/core/vertex.h4
1 files changed, 3 insertions, 1 deletions
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) {}