mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 05:10:57 +00:00
initial modelbatch
This commit is contained in:
@ -4,7 +4,7 @@ import QuartzCore.CAMetalLayer
|
||||
|
||||
public class Application {
|
||||
private let cfg: ApplicationConfiguration
|
||||
private let del: GameDelegate
|
||||
private var del: GameDelegate!
|
||||
|
||||
private var window: OpaquePointer? = nil
|
||||
private var view: SDL_MetalView? = nil
|
||||
@ -71,7 +71,8 @@ public class Application {
|
||||
}
|
||||
|
||||
private func deinitialize() {
|
||||
renderer = nil
|
||||
self.del = nil
|
||||
self.renderer = nil
|
||||
SDL_Metal_DestroyView(view)
|
||||
SDL_DestroyWindow(window)
|
||||
SDL_Quit()
|
||||
|
Reference in New Issue
Block a user