add texture:getDebugName and buffer:getDebugName

This commit is contained in:
niki
2023-12-14 00:09:08 +01:00
parent 834398335d
commit 7a25dfa7fc
15 changed files with 47 additions and 25 deletions
+1
View File
@@ -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.");