mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
add texture:getDebugName and buffer:getDebugName
This commit is contained in:
@@ -38,6 +38,7 @@ Buffer::Buffer(Graphics *gfx, const Settings &settings, const std::vector<DataDe
|
||||
, mapped(false)
|
||||
, mappedType(MAP_WRITE_INVALIDATE)
|
||||
, immutable(false)
|
||||
, debugName(settings.debugName)
|
||||
{
|
||||
if (size == 0 && arraylength == 0)
|
||||
throw love::Exception("Size or array length must be specified.");
|
||||
|
||||
Reference in New Issue
Block a user