move extensions loading to Aux
This commit is contained in:
1 parent
5e5537aee6
commit
3bcfc32ef1
2 files changed
+7
-3
No files matched your search
@@ -16,9 +16,7 @@ func renderInit(_ vm: RenderVM) {
|
||||
var swapInterval: Int32 = 1
|
||||
vm.glView.openGLContext?.setValues(&swapInterval, for: .swapInterval)
|
||||
|
||||
// Load OpenGL extensions
|
||||
rlLoadExtensions(unsafeBitCast(raybriGLLoader as @convention(c) (UnsafePointer<CChar>?) -> UnsafeMutableRawPointer?, to: UnsafeMutableRawPointer.self))
|
||||
|
||||
raybriLoadExtensions()
|
||||
raybriInit()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user