mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-03-23 09:51:18 +01:00
feat: wait until vertex generation is completed
This commit is contained in:
@@ -83,6 +83,7 @@ class StrokeRenderPass: RenderPass {
|
||||
computeEncoder.dispatchThreadgroups(numThreadgroups, threadsPerThreadgroup: threadsPerGroup)
|
||||
computeEncoder.endEncoding()
|
||||
quadCommandBuffer.commit()
|
||||
quadCommandBuffer.waitUntilCompleted()
|
||||
}
|
||||
|
||||
private func drawStrokeTexture(on canvas: Canvas, with renderer: Renderer) {
|
||||
|
||||
Reference in New Issue
Block a user