Update MetalView.swift
This commit is contained in:
parent
5885a67b73
commit
618f6ffd5c
|
|
@ -27,7 +27,6 @@ public class MetalView: MTKView, NSWindowDelegate {
|
|||
}
|
||||
|
||||
override public func drawRect(dirtyRect: NSRect) {
|
||||
super.drawRect(dirtyRect)
|
||||
if let drawable = currentDrawable {
|
||||
let commandBuffer = queue.commandBuffer()
|
||||
let commandEncoder = commandBuffer.computeCommandEncoder()
|
||||
|
|
|
|||
Loading…
Reference in New Issue