Update MetalView.swift

This commit is contained in:
Marius Horga 2016-05-30 15:12:48 +03:00
parent 5885a67b73
commit 618f6ffd5c
1 changed files with 0 additions and 1 deletions

View File

@ -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()