Skip to content

Commit

Permalink
Fix initialisation level cast. (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
samdeane authored Dec 18, 2024
1 parent 31b1efb commit 23c329a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftGodot/EntryPoint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public func initializeSwiftModule (
let initialization = UnsafeMutablePointer<GDExtensionInitialization> (extensionPtr)
initialization.pointee.deinitialize = extension_deinitialize
initialization.pointee.initialize = extension_initialize
initialization.pointee.minimum_initialization_level = GDExtensionInitialization(minimumInitializationLevel.rawValue)
initialization.pointee.minimum_initialization_level = GDExtensionInitializationLevel(UInt32(minimumInitializationLevel.rawValue))
initialization.pointee.userdata = UnsafeMutableRawPointer(libraryPtr)
}

Expand Down

0 comments on commit 23c329a

Please sign in to comment.