move extensions loading to Aux

This commit is contained in:
Михаил Капелько committed 2026-10-30 17:05:46 +03:00
1 parent 5e5537aee6
commit 3bcfc32ef1
2 files changed
+7 -3

No files matched your search

+1 -3
View File
@@ -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()
}