mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-26 03:13:15 -06:00
metal: add info about command recorder memory leaks
This commit is contained in:
parent
863842948b
commit
789bc69281
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ public:
|
|||
private:
|
||||
const Device& device;
|
||||
|
||||
// HACK: Command buffers and encoders currently aren't released every frame due to Xcode
|
||||
// crashing in Debug mode. This leads to memory leaks
|
||||
MTLCommandBuffer_t command_buffer = nil;
|
||||
MTLCommandEncoder_t encoder = nil;
|
||||
|
||||
|
|
Loading…
Reference in a new issue