mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-22 13:25:51 +12:00
fix: remaining memory leaks
This commit is contained in:
parent
23af64ade8
commit
7731787aa2
4 changed files with 5 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue