From 18ff6fb2fa03335d8a42440aec9f0dcb77f42c3a Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Fri, 30 Jun 2023 18:35:16 -0400 Subject: Update to Godot 4.1 Stable Release Fix deferred error in LoadingScreen.update_loading_screen Fix pressed shadow variable warning in SettingCheckBox.gd --- extension/src/register_types.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extension/src') diff --git a/extension/src/register_types.cpp b/extension/src/register_types.cpp index 3283418..92c25a4 100644 --- a/extension/src/register_types.cpp +++ b/extension/src/register_types.cpp @@ -51,8 +51,8 @@ void uninitialize_openvic_types(ModuleInitializationLevel p_level) { extern "C" { // Initialization. - GDExtensionBool GDE_EXPORT openvic_library_init(GDExtensionInterface const* p_interface, const GDExtensionClassLibraryPtr p_library, GDExtensionInitialization* r_initialization) { - GDExtensionBinding::InitObject init_obj(p_interface, p_library, r_initialization); + GDExtensionBool GDE_EXPORT openvic_library_init(GDExtensionInterfaceGetProcAddress p_get_proc_address, GDExtensionClassLibraryPtr p_library, GDExtensionInitialization* r_initialization) { + GDExtensionBinding::InitObject init_obj(p_get_proc_address, p_library, r_initialization); init_obj.register_initializer(initialize_openvic_types); init_obj.register_terminator(uninitialize_openvic_types); -- cgit v1.2.3-56-ga3b1