single bg color

This commit is contained in:
Михаил Капелько committed 2026-10-23 15:27:28 +03:00
1 parent e0f54dde75
commit 56d4b2dd88
4 files changed
+6 -42

No files matched your search

+1 -3
View File
@@ -1,12 +1,10 @@
import QuartzCore
import UIKit
// Render a single frame. The timer calls this directly: an EGL/ANGLE surface
// presents into the view's layer, so there is no draw(_:) / needsDisplay pass
// like in the NSOpenGLView on macOS.
func renderDraw(_ vm: RenderVM) {
let t = CACurrentMediaTime() - vm.startTime
raybri_render(t)
raybri_render()
}
// Backing-pixel size of the view, which is what EGL/ANGLE renders into.