Fix compilation in VS2013.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2016-12-27 22:48:43 -04:00
parent 3c1d4304b1
commit 70df473680
+4 -2
View File
@@ -235,8 +235,10 @@ public:
Texture *texture = nullptr;
StreamDrawRequest()
: formats{vertex::CommonFormat::NONE, vertex::CommonFormat::NONE}
{}
{
// VS2013 can't initialize arrays in the above manner...
formats[1] = formats[0] = vertex::CommonFormat::NONE;
}
};
struct StreamVertexData