clarify
This commit is contained in:
1 parent
27b7679bf8
commit
81bfac20f9
2 files changed
-3
No files matched your search
@@ -1,7 +1,5 @@
|
||||
import SwiftUI
|
||||
|
||||
// SwiftUI counterpart of the macOS RenderView. It vends the shared GL view,
|
||||
// which RenderVM also keeps alive and drives with a timer.
|
||||
struct RenderView: UIViewRepresentable {
|
||||
func makeUIView(context: Context) -> RenderGLView {
|
||||
RenderVM.shared!.glView
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import AppKit
|
||||
import SwiftUI
|
||||
|
||||
/// Render view for SwiftUI
|
||||
struct RenderView: NSViewRepresentable {
|
||||
func makeNSView(context: Context) -> RenderGLView {
|
||||
RenderVM.shared!.glView
|
||||
|
||||
Reference in new issue
Block a user