mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
metal: add debug labels for internal buffers.
This commit is contained in:
@@ -341,6 +341,7 @@ Graphics::Graphics()
|
||||
};
|
||||
|
||||
Buffer::Settings attribsettings(BUFFERUSAGEFLAG_VERTEX, BUFFERDATAUSAGE_STATIC);
|
||||
attribsettings.debugName = "Default Vertex Attributes";
|
||||
|
||||
defaultAttributesBuffer = newBuffer(attribsettings, dataformat, &defaults, sizeof(DefaultVertexAttributes), 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user