Fixing command resource binding

This commit is contained in:
Dynamitos committed 2025-09-05 07:10:27 +02:00
1 parent 5be15b4929
commit e97beda2bc
13 files changed
+73 -57

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ using namespace Seele;
using namespace Seele::Metal;
BufferAllocation::BufferAllocation(PGraphics graphics, const std::string& name, uint64 size, MTL::ResourceOptions options)
: CommandBoundResource(graphics) {
: CommandBoundResource(graphics, name) {
buffer = graphics->getDevice()->newBuffer(size, options);
buffer->setLabel(NS::String::string(name.c_str(), NS::ASCIIStringEncoding));
}