From 2c711a1bb6a67e01e0b1a3c225e0e7c48bfc1cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 5 Dec 2013 00:53:51 +0100 Subject: [PATCH] MSVC 2013 compatibility: need to explicitly specify POD constructor. I think this is the only place where it fails and it works flawlessly in other cases. Again, why?! --- src/Text/Renderer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Text/Renderer.cpp b/src/Text/Renderer.cpp index 545e60f53..8effda67e 100644 --- a/src/Text/Renderer.cpp +++ b/src/Text/Renderer.cpp @@ -55,6 +55,9 @@ template void createIndices(void* output, const UnsignedInt glyphCount) } struct Vertex { + #ifdef CORRADE_MSVC2013_COMPATIBILITY + Vertex(const Vector2& position, const Vector2& textureCoordinates): position(position), textureCoordinates(textureCoordinates) {} + #endif Vector2 position, textureCoordinates; };