Revision: 14458
http://sourceforge.net/p/skim-app/code/14458
Author: hofman
Date: 2024-09-18 22:14:03 +0000 (Wed, 18 Sep 2024)
Log Message:
-----------
let metal command buffer keep strong reference to recources, avoids a warning
with the page turn transition
Modified Paths:
--------------
trunk/SKTransitionController.m
Modified: trunk/SKTransitionController.m
===================================================================
--- trunk/SKTransitionController.m 2024-09-17 16:05:39 UTC (rev 14457)
+++ trunk/SKTransitionController.m 2024-09-18 22:14:03 UTC (rev 14458)
@@ -606,7 +606,7 @@
return;
id<CAMetalDrawable> drawable = [view currentDrawable];
- id<MTLCommandBuffer> commandBuffer = [commandQueue
commandBufferWithUnretainedReferences];
+ id<MTLCommandBuffer> commandBuffer = [commandQueue commandBuffer];
id<MTLRenderCommandEncoder> commandEncoder = [commandBuffer
renderCommandEncoderWithDescriptor:[view currentRenderPassDescriptor]];
[commandEncoder endEncoding];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit