mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Fix compilation in VS2013.
--HG-- branch : minor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user