fix: remaining memory leaks

This commit is contained in:
Samuliak 2024-07-07 13:50:27 +02:00
parent 23af64ade8
commit 7731787aa2
4 changed files with 5 additions and 1 deletions

View file

@ -70,6 +70,7 @@ struct RenderTarget {
descriptor->setStorageMode(MTL::StorageModePrivate);
texture = device->newTexture(descriptor);
texture->setLabel(toNSString(std::string(std::is_same<Format_t, PICA::ColorFmt>::value ? "Color" : "Depth") + " render target " + std::to_string(size.u()) + "x" + std::to_string(size.v())));
descriptor->release();
}
void free() {