This commit is contained in:
Михаил Капелько committed 2026-10-23 06:45:53 +03:00
1 parent 197d93ee7b
commit 33fae994fc
5 files changed
+6 -5

No files matched your search

+2 -1
View File
@@ -5,7 +5,8 @@ import UIKit
// presents into the view's layer, so there is no draw(_:) / needsDisplay pass
// like in the NSOpenGLView on macOS.
func renderDraw(_ vm: RenderVM) {
raybri_ios_render(CACurrentMediaTime() - vm.startTime)
let t = CACurrentMediaTime() - vm.startTime
raybri_ios_render(t)
}
// Backing-pixel size of the view, which is what EGL/ANGLE renders into.