mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Add Buffer methods
flush, setArrayData, setElement, getElement, getElementCount, getElementStride, getSize, getFormat
This commit is contained in:
@@ -69,7 +69,7 @@ Buffer::Buffer(Graphics *gfx, const Settings &settings, const std::vector<DataDe
|
||||
|
||||
if (vertexbuffer)
|
||||
{
|
||||
if (decl.arraySize > 0)
|
||||
if (decl.arrayLength > 0)
|
||||
throw love::Exception("Arrays are not supported in vertex buffers.");
|
||||
|
||||
if (info.isMatrix)
|
||||
|
||||
Reference in New Issue
Block a user