This commit is contained in:
Михаил Капелько committed 2026-10-28 16:46:36 +03:00
1 parent 36392764f7
commit 9d6c2aeb27
5 files changed
+89 -9

No files matched your search

+11
View File
@@ -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)
}