prep
This commit is contained in:
1 parent
36392764f7
commit
9d6c2aeb27
5 files changed
+89
-9
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import Foundation
|
||||
|
||||
func renderInit(_ vm: RenderVM) {
|
||||
vm.glView.openGLContext?.makeCurrentContext()
|
||||
|
||||
// Enable VSync
|
||||
var swapInterval: Int32 = 1
|
||||
vm.glView.openGLContext?.setValues(&swapInterval, for: .swapInterval)
|
||||
|
||||
raybriInit(nil)
|
||||
}
|
||||
Reference in new issue
Block a user