Patch some leaks and only perform copies on valid textures (#37)
This commit is contained in:
committed by
Isaac Marovitz
parent
01f41b8b0e
commit
fff3a4f8f8
@@ -149,7 +149,7 @@ class CommandBufferEncoder
|
||||
{
|
||||
EndCurrentPass();
|
||||
|
||||
var descriptor = new MTLBlitPassDescriptor();
|
||||
using var descriptor = new MTLBlitPassDescriptor();
|
||||
var blitCommandEncoder = _commandBuffer.BlitCommandEncoder(descriptor);
|
||||
|
||||
CurrentEncoder = blitCommandEncoder;
|
||||
|
||||
Reference in New Issue
Block a user