From 59bffc94a8b9e75c0d23650f1deeb0fd39a7d4c1 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Wed, 31 May 2023 01:32:44 -0500 Subject: [PATCH] Correctly load gdextension_interface_print_error --- src/godot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/godot.cpp b/src/godot.cpp index af840f25..298c9654 100644 --- a/src/godot.cpp +++ b/src/godot.cpp @@ -235,7 +235,7 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge LOAD_PROC_ADDRESS(mem_alloc, GDExtensionInterfaceMemAlloc); LOAD_PROC_ADDRESS(mem_realloc, GDExtensionInterfaceMemRealloc); LOAD_PROC_ADDRESS(mem_free, GDExtensionInterfaceMemFree); - LOAD_PROC_ADDRESS(print_error_with_message, GDExtensionInterfacePrintErrorWithMessage); + LOAD_PROC_ADDRESS(print_error, GDExtensionInterfacePrintError); LOAD_PROC_ADDRESS(print_warning, GDExtensionInterfacePrintWarning); LOAD_PROC_ADDRESS(print_warning_with_message, GDExtensionInterfacePrintWarningWithMessage); LOAD_PROC_ADDRESS(print_script_error, GDExtensionInterfacePrintScriptError);