mirror of
https://github.com/love2d/love.git
synced 2026-08-19 12:14:20 +02:00
Is MSVC happy with this?
--HG-- branch : minor
This commit is contained in:
@@ -229,10 +229,14 @@ public:
|
|||||||
struct StreamDrawRequest
|
struct StreamDrawRequest
|
||||||
{
|
{
|
||||||
vertex::PrimitiveMode primitiveMode = vertex::PrimitiveMode::TRIANGLES;
|
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;
|
vertex::TriangleIndexMode indexMode = vertex::TriangleIndexMode::NONE;
|
||||||
int vertexCount = 0;
|
int vertexCount = 0;
|
||||||
Texture *texture = nullptr;
|
Texture *texture = nullptr;
|
||||||
|
|
||||||
|
StreamDrawRequest()
|
||||||
|
: formats{vertex::CommonFormat::NONE, vertex::CommonFormat::NONE}
|
||||||
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct StreamVertexData
|
struct StreamVertexData
|
||||||
|
|||||||
Reference in New Issue
Block a user