single bg color
This commit is contained in:
1 parent
e0f54dde75
commit
56d4b2dd88
4 files changed
+6
-42
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user