Skip to content

Commit

Permalink
Metal does not work in simulator :(
Browse files Browse the repository at this point in the history
  • Loading branch information
Omer Karisman committed Sep 4, 2017
1 parent 1e5909a commit 62338c8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions SceneKitVideoRecorder/Classes/PixelBufferFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
//
// Created by Omer Karisman on 2017/08/29.
//

#if arch(i386) || arch(x86_64)
import UIKit
struct PixelBufferFactory {
}
//Metal does not work in simulator :(
#else
import UIKit

struct PixelBufferFactory {
Expand Down Expand Up @@ -42,4 +47,4 @@ struct PixelBufferFactory {
}

}

#endif

0 comments on commit 62338c8

Please sign in to comment.