mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
Fix compilation in VS2013.
--HG-- branch : minor
This commit is contained in:
@@ -235,8 +235,10 @@ public:
|
|||||||
Texture *texture = nullptr;
|
Texture *texture = nullptr;
|
||||||
|
|
||||||
StreamDrawRequest()
|
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
|
struct StreamVertexData
|
||||||
|
|||||||
Reference in New Issue
Block a user