Commit 8a0ba86
committed
Fix Swift 6 concurrency error in MetalRenderer
Add @mainactor annotation to render(in:commandBuffer:) method to resolve main actor-isolated property access errors for MTKView.currentRenderPassDescriptor and currentDrawable.1 parent a950b4a commit 8a0ba86
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| 273 | + | |
273 | 274 | | |
274 | 275 | | |
275 | 276 | | |
| |||
0 commit comments