Is MSVC happy with this?

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2016-12-27 22:03:08 -04:00
parent 94d169dc85
commit 3c1d4304b1
+5 -1
View File
@@ -229,10 +229,14 @@ public:
struct StreamDrawRequest
{
vertex::PrimitiveMode primitiveMode = vertex::PrimitiveMode::TRIANGLES;
vertex::CommonFormat formats[2] = {vertex::CommonFormat::NONE, vertex::CommonFormat::NONE};
vertex::CommonFormat formats[2];
vertex::TriangleIndexMode indexMode = vertex::TriangleIndexMode::NONE;
int vertexCount = 0;
Texture *texture = nullptr;
StreamDrawRequest()
: formats{vertex::CommonFormat::NONE, vertex::CommonFormat::NONE}
{}
};
struct StreamVertexData